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

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

问题描述:

这正是我的 .tfignore.它在分支的根目录中并提交给 TFS,但它从未兑现.我想我在阅读 TechNet 的文章时遗漏了一些我不清楚的句法细节在 .tfignore 文件中,但是什么?

Here's my .tfignore exactly. It is in the root directory of the branch and committed to TFS, but it is never honored. I imagine I'm missing some syntactic subtlety not clear to me from reading TechNet's article on the .tfignore file, but what?

### 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

您可能没有遗漏任何句法细节,.tfignore 是 VS2012 中的一个新功能,似乎也需要 TFS2012.

You're probably not missing any syntactic subtleties, .tfignore is a new feature in VS2012 and seems to also require TFS2012.