Solved

How can I automatically clean out my .vbproj file?

Posted on 2004-04-08
4
391 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
  • 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now