How can I test the new forbidden patterns?
I wrote a set of forbidden patterns, and I would like to test them without having to check-out and check-in tons of files, how can I test them against local files in my machine?
I wrote a set of forbidden patterns, and I would like to test them without having to check-out and check-in tons of files, how can I test them against local files in my machine?
Do you want to achive this with checkin policy, stand alone tool, msbuild task or yet something else :) ?
You should never need to check out files - you just need to sync them to you workspace. If you are working on policy or msbuild task (which will be run during build) I wouldn't sync files on my own - just test files that are already synced (for policy it will probably make sense to test only files that are checked out).
Hope that it helps