Skip to main content
Version: QB11

Publish Fxcop Report

To publish Fxcop reports, you need:

  1. Generate Fxcop reports by using FxcopCmd or NAnt fxcop task or any other tools.
  2. Add a Publish Fxcop Reports step in your configuration steps.

Note: The Fxcop version should be 1.35+.

After doing this, QuickBuild will generate the Fxcop reports automatically.

NOTE QuickBuild only parses the XML reports.

Generate Fxcop XML Reports

We use NAnt fxcop task as an example for how to generate Fxcop XML reports:

<fxcop failonerror="false" projectFile="${build.dir}\Sample.fxcop">
<targets>
<include name="${build.dir}\bin\*.dll" />
</targets>
<rules>
<include name="${build.dir}\rules\*.dll" />
</rules>
</fxcop>

Publish Fxcop Reports

Add Publish Fxcop Report step to your build workflow. If you have several report sets, you can add several steps with different report set names. Reference this page for more details.