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
Stephen [ Mi, 02 April 2008 00:17 ] [ ID #1933572 ]

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
Leon Mayne [ Do, 03 April 2008 10:57 ] [ ID #1934486 ]
Microsoft » microsoft.public.dotnet.general » Enforcing Coding Standards from within the IDE

Vorheriges Thema: Changing the source name for the error in Windows log event
Nächstes Thema: Re: DLL.config files and MSI Deployment Projects