stylecopcli icon indicating copy to clipboard operation
stylecopcli copied to clipboard

ExcludeFromStyleCop

Open elShalafi opened this issue 9 years ago • 2 comments

Hi. Your software is awesome, but I need some feature to definitly use it. I have found that your referenced library VSFile is not allowing to read custom nodes in cproj files. That is a main need for being used with stylecop, because it adds a <ExcludeFromStyleCop>True</ExcludeFromStyleCop> to the files which StyleCop must not analyze. In consequence, running StyleCopCLI over some .sln or .cproj file (with eventual exclude nodes inside) result in a undesirable analysis. Would it be possible an update to support this feature? Thank you so much.

elShalafi avatar Jun 24 '16 08:06 elShalafi

Thanks for submitting this. So to clarify, you want the VS File library to read these <ExcludeFromStyleCop> nodes and recognize them when running under StyleCop CLI to ignore these files during analysis?

bbadjari avatar Jun 24 '16 23:06 bbadjari

Exactly. That would be perfect.

elShalafi avatar Jun 27 '16 08:06 elShalafi