.tfignore - ".gitignore" for TFS
By Anatoly Mironov
I haven’t used TFS so much. But I like it so far. It works smoothly, both TFS 2012 (on premises) and TFS Preview (online). I really appreciate that Microsoft has been inspired from git - the world’s best VCS :). For example .tfignore which works exactly like the .gitignore file. It is nice that the non-classic Microsoft dot notation convention for naming the hidden files is chosen. So if you have any files to ignore just do it like you did in your git projects. Here is a .tfignore which I use in my SharePoint project for now. I suppose it will be extended soon:
######################################
# Ignore Reshaprer files
\*\_ReSharper.\*
\*.DotSettings
#
# Ignore published wsp outputs
\*.wsp
```Put .tfignore file in the root of your TFS Project. You can of course, [let VS2012 create it automatically in the VS2012](http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore)
## Comments from Wordpress.com
####
[Mario]( "mmeasor@ctnet.com") - <time datetime="2012-11-14 15:48:32">Nov 3, 2012</time>
not sure if i am doing something wrong, i am new to tfs and never used git, but i copied your stuff above and put the .tfignore file at the same level as the \_Resharper.XXX folder. All of my resharper files are still showing up. also if you know how, i have some third party dll files in a lib folder that are being excluded even though i added !lib\\\*.dll to the ignore file
<hr />