NCover Documentation

Please visit NCover Server Command Line Functions for updated information.

Build Id

Attaches a custom build id to the coverage data gathered, a random unique ID will be created otherwise. (Any string is a valid build id).

//bi 2009-12-B1-Staging

Read Settings from a file

Read settings from a file.

//cr "C:\dev\saved\settingsfile.xml"

Save Settings

Save coverage settings to a file.

//cs "C:\dev\saved\settingsfile.xml"

Turn expert mode on.

Controls whether NCover checks its arguments for common (correctable) invocation mistakes and then corrects them.
Default Value: False

Usage: //expert

Register NCover

Temporarily enable NCover for the current user.
NOTE: This argument will not work for the //iis or the //svc arguments.


Global Environment

Configures NCover to cover processes that could start as services or as regular applications.


Working Directory

Set the working directory of the covered application.
NOTE: Does not apply to IIS or a service started with //svc.
NOTE: Does not apply to any //pm process.

//w "d:\dev\code\"

Wait for Application Load

Tell NCover to wait the given number of minutes for the application to start up. If the application has not started up after the given amount of time, NCover will assume that it will never start up, and then exit.
Default: 1 minute

//wal 8

If you still need technical assistance, we can help:

Submit A Support Ticket