How Do I Suppress A StyleCop Rule With R#10 and VS2013
I have a .cs file which contains an Interface and a Class (in that order).
The Interface is named IMyClassName
The Class is named MyClassName
The Filename is MyClassName.cs
I am getting the following Issue when I run Find Code Issues:
The file attribute in the file header's copyright tag must contain the name of the first type in the file and can be any of these: "IMyClassName" [StyleCop Rule: SA1649].
I want to suppress this message in this file, but I cannot figure out how to do this.
Any help is appreciated.
Regards,
Jay Cummings
Please sign in to leave a comment.