比方说,单个解决方案(.sln)具有2个(.vcproj),分别名为Proj1和Proj2.默认情况下,Visual Studio将Proj1分配为我的启动项目.
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.
我将Proj2设置为所需的启动项目.
I set Proj2 to be my desired startup project.
然后我将所有内容提交到我的存储库(不包括.suo).
Then I commit everything to my repository (excluding .suo).
我重新签出,Proj1仍然是默认的启动项目.
I re-check out, and Proj1 is still the default startup project.
这是否意味着Visual Studio将启动信息存储在.suo文件中?但是我不想提交(?),因为它是用户特定的文件?
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?
还是我做错了什么?
注意:我使用Visual Studio 2008
Note: I use Visual Studio 2008
推荐答案是的,它存储在.suo文件中.
Yes, it is stored in the .suo file.
这是类似的帖子,解释了原因.
更多推荐
Visual Studio:它在哪里存储“设置为启动项目"?
发布评论