I don’t see it in the .sln file, which is what I expected.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Which project is the ‘startup’ project only has any relevance for debugging, which means it’s user metadata from the point of the solution and the projects. Regardless of which project is the ‘startup’ project, the compiled code is the same.
Because of this, the information is stored as a user setting in the Solution User Options file (solution.suo) which accompanies the Solution file (solution.sln). The .suo file ‘Records all of the options that you might associate with your solution so that each time you open it, it includes customizations that you have made’ according to MSDN.
The .suo file is a binary file. If you want to read or change it programatically, you have to use
IVsPersistSolutionOpts.LoadUserOptionsfrom theMicrosoft.VisualStudio.Shell.Interopnamespace.