Solved

How can I automatically clean out my .vbproj file?

Posted on 2004-04-08
4
400 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

626 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