我应该将Visual Studio 2015 .vs文件夹添加到源代码控制吗? [英] Should I add the Visual Studio 2015 .vs folder to source control?

查看:292
本文介绍了我应该将Visual Studio 2015 .vs文件夹添加到源代码控制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2015创建一个名为.vs的新文件夹。它的目的是什么,我应该将它添加到源代码管理?

Visual Studio 2015 creates a new folder called ".vs". What is the purpose of it and should I add it to source control?

推荐答案

不,您不应该将它添加到源代码管理。此文件夹的用途是将机器和用户特定的文件移动到中央位置。关于 Visual Studio的解释用户语音问题解释得很好:

No, you should not add it to source control. The purpose of this folder is to move machine- and user-specific files to a central location. The explanation on the Visual Studio User Voice issue explains it well:


到目前为止,我们已经移动了.SUO文件和VB / C#编译器IntelliSense数据库文件移动到新的位置。所有新项目特定的机器本地文件也将被添加到新位置。我们计划在未来的版本中进一步考虑这一点,并正在研究如何改进构建输出的目录结构以及可能会混淆源代码树的其他现有文件。

So far, we have moved the .SUO file and the VB/C# compiler IntelliSense database files to the new location. All new project specific, machine local files will be added to the new location too. We plan on taking this even further in future releases and are investigating how to improve the directory structure of build output and other existing files that can clutter the source tree.

这些都是您永远不会检入的文件,因为它们是从构建生成的或包含特定于计算机的信息。

These are all files that you would never check in, since they are generated from a build or contain machine-specific information.

这篇关于我应该将Visual Studio 2015 .vs文件夹添加到源代码控制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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