Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How can I automatically clean out my .vbproj file?

Posted on 2004-04-08
4
Medium Priority
?
402 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

722 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