I\'ve been trying to use the Forbidden Patterns part of the TFS 2010 Power Tools and I\'m just not understanding something - I simply cannot get anything to change as I try
Here's a set of expressions we use that work. We have the December 2011 Team Foundation Power Tools installed, which is where the Forbidden Patterns Policy feature comes from, not from a base TFS 2010 install.
.*/[Bb]in/.*
.*/[Pp]ackages/.*
.*/[Oo]bj/.*
.*/_[Rr]eshar[Pp]er./.*
\.((?i)suo$)
\.((?i)user$)
thumbs\.db
I also found another site that has a good write-up with example patterns.
After playing around for a while I found a working solution for excluding *.config files (derived from the following blog link text)
^(.+\.config$)
Please don't ask me why it's the way it is, I don't really get it myself, especially the part with '$)' (')$' does not work!)