Team Foundation Server 2010不尊重我的.tfignore文件

Toh*_*huw 5 tfs tfs2010

这是我的.tfignore.它位于分支的根目录中并提交给TFS,但它永远不会受到尊重.我想通过阅读TechNet关于.tfignore文件的文章,我遗漏了一些语法细微之处,但是什么?

### 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
Run Code Online (Sandbox Code Playgroud)

Joa*_*son 8

你可能没有错过任何语法细微之处,.tfignore是VS2012中的一个新功能,似乎也需要TFS2012.