Don't set project as startup project but run it

Viewed 5688

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!

5 Answers

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!

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

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:

  • Current selection
  • Single startup project
  • Multiple startup projects
Related