Change startup project automatically

visual-studio, visual-studio-2013

Solution

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

Problem

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?

Original source