Choosing the StartUp Project
Menu: Project -> Set as StartUp Project; [Right-Click a project in Solution Explorer] -> Set as StartUp Project
Command: Project.SetasStartUpProject
Versions: 2008,2010
Published: 5/9/2010
Code: vstipEnv0014
When you work with multiple projects there is always one that is the "StartUp Project". It's the one that starts up first when you start (with or without debugging). It's easy to spot the current StartUp Project as it is always in bold when you look at Solution Explorer:
To change this, just Right-Click a project in Solution Explorer and choose "Set as StartUp Project":
Alternatively, you could go to Project -> Set as StartUp Project to do the same thing:
Comments
Anonymous
May 09, 2010
The annoying part about this is that the startup project is not saved in the solution file (.sln), but rather in the solution user options (.suo), which of course normally is not saved to a source repository. Thus, every new project member has to set the startup project correctly after checking out the solution.Anonymous
May 09, 2010
Hey Now Zain, Nifty feature great when we are working on one project much more than others. Thx 4 the info, CattoAnonymous
August 14, 2011
there is no such option available inprooject menu as wel as when i right click in solution explorer.. please suggest..Anonymous
November 20, 2011
I had hoped this would discuss the annoying issue where VS2010 ignores the "Set As Startup Page" of the sln and starts the currently select page as the start up page. Please help me turn this "feature/bug" off. It's very irritating. It takes a minute or two for the app to startup then fail because there were objects needed in the first page but weren't loaded because VS2010 thought it better load the current page. Grrrrr.Anonymous
October 03, 2014
The comment has been removed