Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Stupid question about VS2005
Closed Thread
Old 02-18-2008, 07:02 AM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 20

Chaosenemy

Send a message via Yahoo to Chaosenemy
Default Stupid question about VS2005

I just installed Microsoft Visual Studio 2005. Then I wrote a little program and hit ctrl+F5 to compile. Nothing happens. I go to the debug menu at the top and the debugging and compiling options are greyed out. I've googled it and can't find anything. So... how do I compile in VS2005?
Chaosenemy is offline  
Old 02-18-2008, 07:37 AM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Stupid question about VS2005

There are a few things you can do to compile.
1. Select "Build Solution" from the Build menu
2. Right-click on the solution file in the solution explorer and select "Build Solution" from the context menu
3. Right-click on an individual project file in the solution explorer and select "Build" from the context menu
4. Select "Build (name of currently selected project)" from the Build menu
5. Click the green play button (arrow head) on the tool bar to build the solution and start the program in the debugger
6. Select "Start Debugging" from the Debug menu, which does the same thing as option 5 above and can also be executed by pressing the F5 key on the keyboard.
jaeusm is offline  
Old 02-18-2008, 08:06 AM   #3 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 20

Chaosenemy

Send a message via Yahoo to Chaosenemy
Default Re: Stupid question about VS2005

Thanks for the help man. Turns out I just needed to make my program into a project though. Apparently working with a single file doesn't work VS2005...
Chaosenemy is offline  
Old 02-18-2008, 08:20 AM   #4 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Stupid question about VS2005

Quote:
Apparently working with a single file doesn't work VS2005...
Correct. VS doesn't know what you want to do with it (create executable, dll, etc.).
jaeusm is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid PSU question Mr. LL Building, Buying, or Upgrading High Performance PC Systems 3 12-27-2007 12:20 AM
Overclock related question...stupid HP! Aesrin Building, Buying, or Upgrading High Performance PC Systems 4 09-27-2007 05:53 PM
could be a really stupid question.... slyfxsi Building, Buying, Upgrading for General PCs 7 09-15-2007 10:29 AM
maybe a stupid question about magnets hdansjr Off Topic Discussion 10 04-27-2007 10:39 AM