I like to use both StyleCop and CodeIt.Right to validate my code – StyleCop
because it’s free and CodeIt.Right
because it’s really good.
While StyleCop
provides only validation, CodeIt.Right
provides both validation and correction of violations.
Unfortunately, CodeIt.Right
’s supplied template for code file headers does not conform to StyleCop
rules.
Fortunately, CodeIt.Right
allows us to define our own template. Here’s the one I use:
<#@ template language="C#" #>