This documentation relates to QuickBuild 13.0.x
Select here if you are using a different version

Publish NCover Report

To publish NCover reports, you need:

  1. Generate NCover SymbolModuleNamespaceClassMethod XML reports by using NCover.
  2. Add a Publish NCover Reports step in your configuration steps.

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

  • QuickBuild only parses the XML reports.
  • NCover version should be 3.0+
  • The NCover report type should be SymbolModuleNamespaceClassMethod

Generate NCover XML Reports

The NCover SymbolModuleNamespaceClassMethod XML reports can be generated from NCover command tool or msbuild or nant. Below we are using msbuild to generate the coverage report:

  AssemblyFile="C:\Program Files\NCover\Build Task Plugins\NCover.MSBuildTasks.dll" />
  AssemblyFile="C:\Program Files\NCover\Build Task Plugins\NCover.MSBuildTasks.dll" />

<Target Name="Coverage">
  <NCover ToolPath="C:\Program Files\NCover\"
      TestRunnerArgs="TestAssembly1.dll TestRunner2.dll"


<Target Name="CreateCoverageReports">
    <NCoverReporting ToolPath="C:\Program Files\NCover\"

NCover 4

For NCover 4+, you need export your coverage data in v3 XML format, please refer to below page:
NCover Export

Publish NCover Reports

Add Publish NCover 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.

Especially thanks for the help from NCover developer team


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