Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio: Where does it store "Set as startup project"?

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

like image 625
sivabudh Avatar asked Dec 09 '09 18:12

sivabudh


People also ask

Where is the startup project in Visual Studio?

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.

What is set as startup project in Visual Studio?

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.

How do I find the startup project in Visual Studio 2019?

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.


1 Answers

Yes, it is stored in the .suo file.

Here's a similar post explaining why.

like image 130
Andy West Avatar answered Oct 02 '22 14:10

Andy West