7

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

And I understand from this question that storing your .suo file in TFS's source control system is generally frowned upon.

In my solution, the Startup Project is the second project in my solution. When I pull down a fresh copy of the solution from TFS, VS seems to default to the first project in the solution as the Startup Project. Is there another way to make my preferred Startup Project stick?

Community
  • 1
  • 1
BIBD
  • 15,107
  • 25
  • 85
  • 137

1 Answers1

7

As this post suggests, do the following:

Here is the trick: Close your Visual Studio and open the .sln file in your favorite text editor. Starting in line 4 you see all your projects encapsulated in Project - EndProject lines. If you don't have a .suo file in your solution directory, Visual Studio picks the first one as the default startup project. So just cut and paste your default startup one to the top position, delete your .suo file and open your solution in Visual Studio. Ta daa!

Community
  • 1
  • 1
Isaiah4110
  • 9,855
  • 1
  • 40
  • 56