我应该添加.vcxproj.filter文件到源控件吗? [英] Should I add .vcxproj.filter files to source control?

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

问题描述

在评估Visual Studio 2010 Beta 2时,我发现在转换目录中,我的 vcproj 文件变成了 vcxproj 文件。在每个项目旁边还有 vcxproj.filter 文件,它们似乎包含文件夹结构的描述(\Source Files,\Header Files等)。

While evaluating Visual Studio 2010 Beta 2, I see that in the converted directory, my vcproj files became vcxproj files. There are also vcxproj.filter files alongside each project which appear to contain a description of the folder structure (\Source Files, \Header Files, etc.).

你认为这些过滤文件应该保存为每个用户,还是应该在整个dev组中共享并签入SCC?

Do you think these filter files should be kept per-user, or should they be shared across the whole dev group and checked into SCC?

我目前的想法是检查他们,但我想知道是否有任何理由不这样做,或者是我应该肯定检查他们的好理由。

My current thinking is to check them in, but I wonder if there are any reasons not to do that, or perhaps good reasons why I should definitely check them in.

显而易见的好处是,如果我正在查看别人的机器,但是也许他们想要在逻辑上重新组织事物,文件夹结构将匹配。

The obvious benefit is that the folder structures will match if I'm looking at someone else's machine, but maybe they'd like to reorganize things logically?

推荐答案

以前版本的Visual Studio(至少版本6.0和2008)将信息存储在自己的项目文件(分别是.dsp和.vcproj文件)中,这当然是很好的添加到SCC。

Previous versions of Visual Studio (at least versions 6.0 and 2008) store that information in their own project file (.dsp and .vcproj files respectively), which of course is good to add to SCC.

我想不出有任何理由不将此.filter文件包含在SCC中

I cannot think of any reason to not include this .filter files in SCC

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

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