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?
Select a project and right click, then select 'Remove from StartUp Projects...'
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.
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.
The options for startup projects can be found by right-clicking on the solution and selecting "Set Startup Projects". The options are pretty straightforward:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With