.VS文件夹在Visual Studio 2015年的源代码控制? [英] .vs folder to source control in visual studio 2015?

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

问题描述

什么是排除/包括源控制VS 2015的解决方案.VS文件夹中的最佳做法?

What's the best practice for excluding/including the .vs folder for a VS 2015 solution in source control?

最初的版本/编辑后,我只看到'[根] /。VS / [解决方案名称] /v14/.suo创建至今名为.suo一个文件,所以我假设这是替换旧的'[解决方案名称]名为.suo',应该被排除(一般) - 但其它设置/等在那里在我可能要版本一些场景放在

After an initial build/edit I only see a .suo file created so far at '[Root]/.vs/[SolutionName]/v14/.suo', so I'm assuming that's the replacement for the old '[SolutionName].suo' and should be excluded (generally) - but will other settings/etc be placed there in some scenarios that I might want to version?

从的这个的UserVoice的,我猜的答案是,它应该被忽视,只是想要一个确认我更新了我所有的机器设置之前,因为我没有看到它在任何本地文档。

From this uservoice, I'm guessing the answer is that it should be ignored, just wanted a confirm before I updated all my machine settings since I didn't see it in any local docs.

推荐答案

您不应该检查 .VS 源代码控制。

You should not check .vs into source control.

它只是包含罗斯林使用的临时缓存。

It just contains temporary caches used by Roslyn.

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

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