Enforcing Coding Standards from within the IDE
am 02.04.2008 00:17:32 von Stephen
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
am 03.04.2008 10:57:01 von Leon Mayne
"Stephen" wrote in message
news:929a4102-2b07-4e8c-aca1-1465d63633f0@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