Team Foundation Server的2010没有履行我的.tfignore文件(Team

2019-07-18 07:47发布

这是我的.tfignore准确。 它是在分支,致力于TFS的根目录下,但它永远不会兑现。 我想象我失去了阅读的一些语法微妙我不明白的.tfignore文件的TechNet的文章 ,但什么?

### Team Foundation Server Source Control Ruleset Overrides for the Web Project
### These are created to ensure the proper files for the BEC Website end up
### under control.

## INCLUSIONS
# It is truly silly that VS excludes "Debug"...
!debug

# Include any binaries from sources, because they're all third party...
\sources\*.exe

## EXCLUSIONS
# Exclude site-specific tmp, cache and log folders...
wwwroot\administrator\cache
wwwroot\administrator\log
wwwroot\cache
wwwroot\log
wwwroot\tmp

Answer 1:

你可能不会错过任何语法微妙之处, .tfignore是在VS2012中的新功能,似乎还需要TFS2012 。



Answer 2:

我不知道这是否会算作一个答案,但我.tfignore文件似乎只在个别项目检查时要考虑到,如果我从溶液中被完全忽略做一次检查。 我在这一点上测试了几台机器,看到了同样的模式。 所以,我必须有我的团队手动经历和做一个完整的解决方案支票或只是在个别项目检查时排除文件。 两者都是可怕的工作变通,但在这一点上,我还没有找到一个更好的解决方案。



文章来源: Team Foundation Server 2010 Not Honoring My .tfignore file
标签: tfs tfs2010