NCover Documentation

Merge Filter Mode

        There are three different modes for handling the coverage files. The default method will remove all of the
        excluded items from all of the coverage files being merged into the base coverage file. The base coverage file
        will retain all of the <a href="build-server#cf">Filters</a> originally defined in the coverage file.<br />
        Possible Values:<br />
        Default (default)<br />
        KeepSourceFilters (default): See Description<br />
        Destructive: Remove all excluded nodes from all coverage files and remove the filters from all coverage files. This is designed to act the same as v1.5.7.<br />
        AppendFilters: Merge Everything together and let the filters perform the needed exclusions. This can get interesting if collisions exist across coverage files.

        </p><div class="example">

Usage:

<MergeFilterMode>Destructive</MergeFilterMode>

Merged Coverage Data

        Persists the merged coverage data from the input files to disk, along with the <a href="build-server#cf">Filters</a> that were used.

        </p><div class="example">

Usage:

<MergedCoverageDataPath>C:\dev\saved\merge1.xml</MergedCoverageDataPath>

Working Directory

        Sets the working directory. Relative paths in the other options are assumed to start in the working directory.

        </p><div class="example">

Usage:

<WorkingDirectory>C:\dev\myproject\bin\debug</WorkingDirectory>

If you still need technical assistance, we can help:

Submit A Support Ticket