Enforcing Coding Standards from within the IDE
So in Visual Studio 2008's code analysis features, I can run rules
against my codebase to enforce certain standards.
Question: how do I actually define new rules? Any pointers
appreciated.
Thanks,
Stephen
Re: Enforcing Coding Standards from within the IDE
"Stephen" <stephenwo [at] gmail.com> wrote in message
news:929a4102-2b07-4e8c-aca1-1465d63633f0 [at] c19g2000prf.google groups.com...
> So in Visual Studio 2008's code analysis features, I can run rules
> against my codebase to enforce certain standards.
>
> Question: how do I actually define new rules? Any pointers
> appreciated.
The code analysis is based on FxCop, so this might work:
http://blogs.msdn.com/fxcop/archive/2004/01/09/writing-custo m-rules-in-fxcop-amp-fxcop-visual-studio-integration-jeffrey -van-gogh.aspx