Advice needed on how to build a program and how to update it and debug after it is built

Posted on 2006-03-30
Medium Priority
Last Modified: 2010-04-23
Hi there,

I have been using VB.net for 6 months now, it is my first ever programming language and first job in programming (I am also the only programmer so it has been a huge learning curve!).  Anyway I have been working on the same project since I started and now I have to build and deploy it.   I am afraid I have a few questions:

Q1.  What is the difference between 'Build Solution' and 'Build [projectname]' menu items?

(I tried both in desperation and now I can't get into debug mode anymore, every time I made changes they don't show until I run Build again).  I am getting desperate as my project is due to be installed for testing next Thursday but I haven't been able to make any code changes and I still have so much to do :-(  

Q2.  Am I supposed to undo the build somehow if I want to carry on making changes to my code?  If so how?

Any general advice or links to articles on this subject would also be gratefully received.  

Question by:Cherryex
  • 4
  • 3
LVL 34

Accepted Solution

flavo earned 2000 total points
ID: 16330941
>I tried both in desperation and now I can't get into debug mode anymore,

So you are in Release "mode"?  There is a combo box in the tobar, change it back to debug (If you can't see if, right click on the toolbar, and select  "Standard"

Not sure what you mean by "Can't make changes to my code".. Is the app open in the background?  

Author Comment

ID: 16331038
Hello flavo,

I changed to debug mode and I can now debug which is a big help.  When I said I can't make changes to my code I mean that any changes that I make to the code did not work when I ran the program.  E.g. If I added a message box on load it did not display.  However this seems to be work now that I have changed to debug mode.  

So what is the difference between build solution and build project, do you know which I should be using to get my program to an .exe format so that it runs as a standalone?
LVL 34

Expert Comment

ID: 16331088
You debug with the debug version, and release the release version.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 16331142
OK, I now understand that I will need to change the configuration manager option to from 'debug' to 'release' when I have finished all my changes and set my application live but I was just wondering out of the two menu items I mentioned what the difference was and which I should use.  Or I guess I could equally ask what is the difference between a project and a solution?
LVL 34

Expert Comment

ID: 16331167
A project is just what I sounds like.. Basically just the 1 application, where as a solution is one or many projects that are grouped together to form a solution to a problem.  

An example could be a solution that has both a web interface for people on the road, and a windows forms interface for people in the office.  They are both seperate "projects" in the one "solution".

Author Comment

ID: 16332225
Thank you for your help and clarification on the project/solution question :-)

LVL 34

Expert Comment

ID: 16332255
Glad to help, good luck


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

850 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