- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a solution with a DLL project and a test executable project.
I want to run the release version of the test executable.
In configuration manager I select 'release' for the executable.
If I try'start without debugging' VS objects that I have not specified a debug target. I don't want to debug.
There is no "Execute whatever.EXE" under the Build menu like in DevStudio/CVF. What can I use in Visual Studio?
I am reduced to double clicking the executable in Explorer!
I want to run the release version of the test executable.
In configuration manager I select 'release' for the executable.
If I try'start without debugging' VS objects that I have not specified a debug target. I don't want to debug.
There is no "Execute whatever.EXE" under the Build menu like in DevStudio/CVF. What can I use in Visual Studio?
I am reduced to double clicking the executable in Explorer!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Under project properties, even for release,click on "debugging" and specify the command (the relative path to theexe you want to run)any command line arguments and the working directory.
Pressing F5 then runs the program - after telling you what you already know (built without debug) and asking if you want to continue. just clisk "Yes"
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...and/or (depending on how you want to set things up) right click on the executable project (assuming it is in the same solution) and select "Set as StartUp Project". The icon title for that project in the solution explorer will then be bolded to indicate that the command nominated by its Debugging > Command and friends properties will be what is run when you press F5.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you have found is that Microsoft stopped putting the "Start without debugging" button in the toolbar by default. You can add it back.
In VS2010:
Wow, they sure made it hard in VS2010....
In VS2008/2005
In VS2010:
- Select Tools > Customize
- Click on the Commands tab
- Click on the radio button by Toolbar
- Using the Toolbar dropdown, select Standard
- Click Add Command...
- In Categories, select Debug
- Scroll down Commands and click on "Start Without Debugging" and click OK
- Now, click the "Move Down" button until you get the new button where you want it. For example, just below Start/Continue
- Click Close
Wow, they sure made it hard in VS2010....
In VS2008/2005
- Select Tools > Customize
- Click on the Commands tab
- Under Categories, select Debug
- Under Commands, scroll down until you see "Start Without Debugging"
- Drag the button to wherever you want it on the toolbar
- Click Close

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page