ExcludeFromStyleCop

Oct 2, 2012 at 5:37 PM
Edited Oct 2, 2012 at 10:12 PM

Hi

Can you confirm please if ExcludeFromStyleCop is supported by the Policy?

Is that possible to have the similar behavior? Exclude files from being evaluated?

We use this technique to apply stylecop to our project (legacy one):

http://blogs.msdn.com/b/sourceanalysis/archive/2008/11/11/introducing-stylecop-on-legacy-projects.aspx

The idea was that the policy also checks for "ExcludeFromStyleCop" tag on the .csproj.


Thanks

Coordinator
Oct 4, 2012 at 4:51 AM

Unlike StyleCop, the policy has no knowledge of the projects that the files it is scanning are part of since it could be getting used by the TFS power tools Windows Explorer extension to check the files in. With that said, no that particular setting is not supported.