Visual Studio:它在哪里存储“设置为启动项目"?

编程入门 行业动态 更新时间:2024-10-10 08:26:05
本文介绍了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.

这是类似的帖子,解释了原因.

更多推荐

Visual Studio:它在哪里存储“设置为启动项目"?

本文发布于:2023-11-09 23:19:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573714.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:它在   设置为   项目   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!