这是我的 .tfignore。它在分支的根目录中并提交给 TFS,但它从未兑现。我想我在阅读 TechNet's article on the .tfignore file 时遗漏了一些我不清楚的句法微妙之处,但是什么?
### 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 is a new feature in VS2012 and seems to also require TFS2012 .
关于tfs - Team Foundation Server 2010 不尊重我的 .tfignore 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14365929/