zjacobs
zjacobs

Reputation: 33

How to save startup project preference in Visual Studio 2012 solution

I have a Visual Studio solution which contains 2 projects (A and B). Project B depends on Project A. I would like to build both projects but only want project B to execute when I click the start button.

I can highlight Project B in the solution explorer and click on the Project menu to "Set as StartUp Project" and everything works fine on my end. However when I check this into my git repo and share with someone else, Project A is always selected as the StartUp project on their solution.

My suspicion is that Visual Studio is saving this as a user setting instead of a project setting.

Is there any way to make the Project B persist as the StartUp project through a git checkin?

Upvotes: 0

Views: 1818

Answers (1)

user2883715
user2883715

Reputation: 557

http://www.codeproject.com/Tips/756153/The-Solution-User-Options-Suo-File-in-Visual-Studi

maybe it's too late to say anything here, but I'm writing.

According to the page above, start-up project is saved in *.suo as it is a setting not for each project that is in the solution but for solution itself.

Upvotes: 1

Related Questions