这是我的 .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
你可能不会错过任何语法上的微妙之处,.tfignore是VS2012中的新功能,似乎也需要TFS2012.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)