通过项目文件从 TFS 中排除文件 [英] Exclude files from TFS via project file
问题描述
我正在寻找从 TFS 中排除我生成的 VS 项目文件的一些文件的可能性.我知道之后可能会使用 .vspscc 文件.
但我想要的是,在我将项目添加到 TFS 之前,我可以告诉 VS 项目文件,其中一些文件不允许添加到 TFS.
TFS 中有几个级别的排除文件:
- 手动排除签入对话框中的文件或文件夹.
- 通过在
将项目添加到文件夹
对话框中手动排除文件或文件夹. 在
Add items to Folder
对话框中 >自动从源代码管理中排除
:
注意:默认项可以.
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屋!