通过项目文件从TFS中排除文件 [英] Exclude files from TFS via project file
问题描述
我正在寻找一种从TFS中排除生成的VS项目文件中某些文件的可能性.我知道之后可能就是.vspscc文件.
但是我想要的是,我可以告诉VS项目文件,在将项目添加到TFS之前,不允许其中的某些文件添加到TFS.
TFS中排除文件的级别有几个:
- 通过在签入对话框中排除文件或文件夹来手动进行.
- 通过在<将代码添加到文件夹对话框中排除文件或文件夹来手动进行.
-
在<将代码添加到文件夹对话框中>
自动从源代码管理中排除
:
注意:默认项可以通过注册表 在工作区一级.
I am searching for a possibility to exclude some files of my generated VS project file from TFS. I know that it is possibly afterwards with the .vspscc file.
But what i want is, that i can tell the VS project file, that some of it's files are not allowed to get added to TFS, before I add the project to TFS.
There are several levels of excluding files in TFS:
- Manually by excluding a file or folder on the check-in dialog.
- Manually by excluding a file or folder on the
Add items to Folder
dialog. On the
Add items to Folder
dialog >Automatically exclude from source control
:
Note: the default items can be modified using the registry.On the team project source control level using a check-in policy.
- On the source control permissions level:
Source Control
> Mark a folder >Security
> Deny Check-In permission - On the workspace level by cloaking.
这篇关于通过项目文件从TFS中排除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!