防止TFS检测不同文件夹中的包内容

时间:2016-09-09 08:55:14

标签: tfs visual-studio-2015

我已经使用.tfignore and Nuget.config 解决方案阻止tfs检测到包文件夹中的更改,此时它不再检测到包文件夹更改,但每当我添加新包或更新现有包时,它都会检测到可能脚本内容文件夹中的更改。问题是我不能明确地忽略脚本和内容文件夹,因为有一些必须签入的自定义脚本,我更喜欢的是以某种方式忽略由包更改引起的脚本?

1 个答案:

答案 0 :(得分:0)

您可以忽略指定文件或在“脚本”和“内容”文件夹中包含指定文件。例如:

#Ignore .cpp files in the ProjA sub-folder and all its subfolders
ProjA\xxx.cpp

# Do not ignore .dll files in this folder nor in any of its sub-folders
!xxx.dll
相关问题