Visual Studio 2010+ Code Analysis (based on) FxCop 10.0. You can simply add an assembly step of type "FxCop".
When the "Report XSLT file" option is configured, the assembly runner will output an HTML report. FxCop 10.0 contains the default XSLT file in the "% system.FxCopRoot% / Xml / FxCopReport.xsl" section to generate a default HTML report.
source share