At the beginning of a C# file, I have added:
//-----------------------------------------------------------------------
// <copyright company="SomeCompany" file="MyFile.cs">
// Copyright © Some Company, 2011
// </copyright>
// <auto-generated />
//-----------------------------------------------------------------------
I want StyleCop to skip checking this file, so I used the auto-generated
trick explained in other answers.
However, after cleaning and rebuilding my solution, StyleCop keeps generating warnings for this file. Why does this happen? How can it be fixed?
I am using Microsoft Visual Studio 2008 Professional Edition and StyleCop v4.3.