Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change startup project automatically

Just had an unfortunate accident in a multi-project solution where after adding a new project to the solution, writing some code and hitting F5 the project that ran wasn't the one in focus. Is there any way to make Visual studio automatically mark a new project as the startup one?

like image 867
Yoav Avatar asked Dec 02 '13 08:12

Yoav


People also ask

How do I remove a project from Visual Studio startup?

Select a project and right click, then select 'Remove from StartUp Projects...'

How do I set an EXE project as a startup project?

Solution 1Open the Solution Explorer pane in Visual Studio, find the EXE project branch and right click it. In the drop down list that appears is "Set as Startup Project". Click that, and the EXE will run when you debug.

How do I find the startup project in Visual Studio 2019?

Right click your solution on the solution explorer and go to properties. Under Common Properties/Startup Projects you will see an overview about every project and it's auto startup status.


1 Answers

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
like image 56
Jimmy Avatar answered Sep 27 '22 22:09

Jimmy