Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

StyleCop SA1636 rule firing when it should not

Tags:

stylecop

We are using Resharper 4.5 and StyleCop 4.3.

We have a project with many .CS files in it. All .CS files have valid headers, as defined by our StyleCop settings, and added automatically by Resharper's Insert/replace header action.

Four of the .CS files receive a SA1636 warning. The copyright text exactly matches the declared copyright text from the settings file.

Has anyone else experienced this problem? Is there any kind of diagnostic logging that we can enable or otherwise use to help determine why this one rule appears to be mis-firing?

like image 881
David North Avatar asked Nov 06 '09 17:11

David North


1 Answers

Check the encoding format using something like notepad or visual studio Save As - mine was encoding with the wrong character set.

like image 192
Adrian Williams Avatar answered Sep 27 '22 21:09

Adrian Williams