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 to use this! I'm using the version that was released recently (I believe April 23, 2010), so it's not an old version.
First off, yes, I know it's regex based, so let's clear that doubt...
I have tried to block the following scenarios:
1)
I have modified all of my T4 EF templates to generate files named EntityName.gen.cs
. I then attempted to prevent TFS from wanting to check those files in. I used the regular expression \.gen\.cs\z
and it didn't change a single thing! I even tried it without the \z
and nadda!
2)
I don't want app.config and web.config files to be checked-in by default because we have these things stored into app.config.base and web.config.base files that our build scripts use to generate our per-environment app.config and web.config files. As such, I tried the following regexes and again, nothing worked! web\.config\z
, app\.config\z
, web\.release\.config\z
and web\.debug\.config\z
.
What is it that I am screwing up with this?