Publish Fxcop Report

You are viewing an old version (v. 1) of this page.
The latest version is v. 2, last edited on Jun 10, 2010 (view differences | )
view page history | view next version >>

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">
        <include name="${build.dir}\bin\*.dll" />
        <include name="${build.dir}\rules\*.dll" />

Publish Fxcop Reports

Just like all other build reports, you add Fxcop report by adding a publish step in a configuration. When you add publish Fxcop Report step, the following screen will be displayed:
Unable to render embedded object: File (report_publish_step.png) not found.

In Report Files/Patterns field, QuickBuild uses Ant style file patterns to collect the reports, and the directory you specified is relative to the workspace directory.

If you have several report sets, you can add several publish Fxcop steps with different report set names.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.