Reputation: 4311
In my solution there are eight different projects. Most of the time the startup project is project A but some times I need to run other projects to check things and to do that I must set other project as the startup project every time.
I want to know if there is any other way to run a project in the solution without setting it as the startup project? This will save me lots of time!
Upvotes: 27
Views: 6960
Reputation: 5289
This answer I'm quoting from https://stackoverflow.com/a/20336060/130614 may help:
The options for startup projects can be found by right-clicking on the solution and selecting "Set Startup Projects". The options are pretty straightforward:
Upvotes: 2
Reputation: 57
Shift+F10 then press A key is a little faster than scrolling down.
Upvotes: -3
Reputation: 1194
You can also bind this command to keyboard shortcut: Tools->Options->Environment->Keyboard
Search for "Startnewinstance"
This way you can achieve desired with 0 clicks :)
Upvotes: 18
Reputation: 44752
It doesn't take a lot of time, just Right click the project and select "Set as startup project". 2 clicks.
If you want though you can use another method, right click the project, go to "Debug" and click on "Start new instance". 3 clicks!
Upvotes: 12
Reputation: 11218
Right click on the project, there is an entry on the context menu to run the project in the debugger. Its right underneath the command to "Set as StartUp project".
Debug > Start New Instance
Upvotes: 15