Visual Studio:它在哪里存储“设置为启动项目"? [英] Visual Studio: Where does it store "Set as startup project"?

查看:122
本文介绍了Visual Studio:它在哪里存储“设置为启动项目"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

比方说,单个解决方案(.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.

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆