• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 317
  • Last Modified:

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.
0
Cherryex
Asked:
Cherryex
  • 4
  • 3
1 Solution
 
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?  
0
 
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?
 
0
 
flavoCommented:
You debug with the debug version, and release the release version.
0
Cloud Class® Course: 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?
0
 
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".
0
 
CherryexAuthor Commented:
Thank you for your help and clarification on the project/solution question :-)



0
 
flavoCommented:
Glad to help, good luck

Dave
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now