omit specific lines in source code

Nov 16, 2011 at 10:43 AM

Hi, I'm evaluating using style cop.

I managed to change project settings to select specific rules for certain projects, or the global project settings to apply the rules to every project.

What I didn't find, is a way to omit certain lines or block of lines of the code, similar to fxcop, where you have global settings but you can ommit specific lines.

I have in the same project certain files or regions that I don't want to check, so if there is any way to achieve this (without modifying the source code), I would be glad to know.

Thanks for any suggestion.