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

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.  

Thanks.
CherryexAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

flavoCommented:
>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?  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CherryexAuthor Commented:
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?
 
flavoCommented:
You debug with the debug version, and release the release version.
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

CherryexAuthor Commented:
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?
flavoCommented:
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".
CherryexAuthor Commented:
Thank you for your help and clarification on the project/solution question :-)



flavoCommented:
Glad to help, good luck

Dave
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.