How to make Startup Project tab in VS2012

I understand from the question that the Startup project is installed in your .suo file.

And I understand from this question that storing your .suo file in a TFS source control system is usually disapproving.

In my solution, the Startup Project is the second project in my solution. When I pull out a new copy of the solution from TFS, VS seems to use the first project in the solution as a launch project by default. Is there any other way to make my preferred Startup Project file?

+7
tfs visual-studio visual-studio-2012 tfs2012
source share
1 answer

As the post implies, follow these steps:

Here's the trick: close your Visual Studio and open the .sln file in your favorite text editor. Starting at line 4, you see all of your projects encapsulated in Project lines - EndProject. If you do not have a .suo file in the solution directory, Visual Studio selects the first one as the default startup project. So just cut and paste your default start at the top position, delete the .suo file and open your solution in Visual Studio. Ta daa!

+7
source share

All Articles