The FxCop action enables you to automate compliance testing of your .Net assemblies using FxCop
FxCop is a code analysis tool that checks .NET managed code assemblies for conformance to the Microsoft .NET Framework Design Guidelines. It uses reflection, MSIL parsing, and callgraph analysis to inspect assemblies for more than 200 defects in the following areas:
See the FxCop homepage for more information, http://www.gotdotnet.com/team/fxcop/