通过项目文件从 TFS 中排除文件 [英] Exclude files from TFS via project file

查看:20
本文介绍了通过项目文件从 TFS 中排除文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找从 TFS 中排除我生成的 VS 项目文件的一些文件的可能性.我知道之后可能会使用 .vspscc 文件.

但我想要的是,在我将项目添加到 TFS 之前,我可以告诉 VS 项目文件,其中一些文件不允许添加到 TFS.

解决方案

TFS 中有几个级别的排除文件:

  1. 手动排除签入对话框中的文件或文件夹.
  2. 通过在将项目添加到文件夹对话框中手动排除文件或文件夹.
  3. 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:

  1. Manually by excluding a file or folder on the check-in dialog.
  2. Manually by excluding a file or folder on the Add items to Folder dialog.
  3. On the Add items to Folder dialog > Automatically exclude from source control:
    Note: the default items can be modified using the registry.

  4. On the team project source control level using a check-in policy.

  5. On the source control permissions level: Source Control > Mark a folder > Security > Deny Check-In permission
  6. On the workspace level by cloaking.

这篇关于通过项目文件从 TFS 中排除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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