Let's say a single solution (.sln) has 2 (.vcproj) named Proj1 and Proj2. By default, Visual Studio assigned Proj1 to be my startup project.
I set Proj2 to be my desired startup project.
Then I commit everything to my repository (excluding .suo).
I re-check out, and Proj1 is still the default startup project.
Does this mean Visual Studio store the startup information in the .suo file? But I dont want to commit that (?) since it's a user-specific file?
Or am I doing something wrong?
Note: I use Visual Studio 2008
Choose the solution node's context (right-click) menu and then choose Properties. The Solution Property Pages dialog box appears. Expand the Common Properties node, and choose Startup Project.
The startup project is the project that will be executed by default when you click the start button or press F5. You can see which project is marked as the startup item in the Solution Explorer, as it is listed in a bold typeface.
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.
Yes, it is stored in the .suo file.
Here's a similar post explaining why.
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