Jun 15, 2012 at 8:38 AM
Edited Jun 15, 2012 at 8:38 AM
I am trying to get Stylecop to suppress a couple of rules using the SuppressMessage attribute.
Of these two suppressions, the second one works fine. The first one however is a custom rule.
The rule is in a class called LayoutRules, in a namespace called OurCompany.StyleCopRules, built into an assembly named OurCompany,StyleCopRules.dll.
The FullName of the type is OurCompany.StyleCopRules.LayoutRules, as this seems to be what Stylecop uses to match up with the SuppressMessage attribute.
I can't understand why it doesn't work. Any ideas on what I might be doing wrong?