Solved

How can I automatically clean out my .vbproj file?

Posted on 2004-04-08
4
397 Views
Last Modified: 2006-11-17
I just had a bad experience. A user of my vb project showed me an error message:
“Error: Logon failed.”. I  had seen this message before, and it was caused by having Crystal Reports which used xml files that were at a different path location in deployment than they had been in development, or xsd files that I failed to include in my distribution.
By process of adding files from a “working” folder to a “broken” folder I finally determined that this new error was caused by an xsd file that I had created, and later deleted from my project. Using a grep tool I discovered that this xsd file was still in my project (.vbproj) file.
My question is how can I automatically clean out my vbproj file to make sure something like this does not happen again?
0
Comment
Question by:wsfindlater
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 22

Expert Comment

by:_TAD_
ID: 10786401


one of two methods

if you compile your project by using command line compiles then you need to use the \clean parameter


If you use visual studio.net you need to RE-build your project and your solution in release mode just before putting it into production.

RE-build, cleans your project and then builds it.
0
 
LVL 22

Accepted Solution

by:
_TAD_ earned 500 total points
ID: 10786441


Here's a link that describes the processes more effectively.
http://www.devx.com/cplus/Article/9766/0/page/2
0
 

Author Comment

by:wsfindlater
ID: 10787174
Thanks TAD,
Turns out that my problem was that I was developing code on a remote faster computer, then copying it back to my desk computer when I was ready to put it in configuration control as a build. Truble was that I was using my old project file.
0
 
LVL 22

Expert Comment

by:_TAD_
ID: 10787248


Thanks for the update!  I'm glad to hear things are well.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question