Slack Groverglow
Slack Groverglow

Reputation: 856

How to save default startup project in visual studio

What information does visual studio look at when determining the start-up project?

I have a C++ visual studio solution with 2 projects. My source control is messed up so I have to copy my solution folder from the repository to my local disk. When I do this and I run my application, the wrong project is set as the start-up project. In the repository I check in the .sln and .vcproj file as well as the cpp/h files, but not the .suo or .user files.

Upvotes: 0

Views: 1258

Answers (1)

MuertoExcobito
MuertoExcobito

Reputation: 10039

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

The startup project is stored in the .suo. As mentioned in that SO post, you should not check these in, because they are not portable across machines/directories.

Upvotes: 1

Related Questions