NCover Documentation
Docs  ›  Legacy  ›  Reference  ›  NCover 3.0  ›  NCover Console

Please visit NCover Server Command Line Functions for updated information.

NCover.Console is a command line tool that can be utilized to execute an application, Windows Service, or IIS application and gather coverage data from the execution.

Basic Usage

NCover.Console [NCover Parameters]  [Program Parameters]

All parameters that do not start with // will be passed to the profiled application. So, for example, running

NCover.Console //log-file MyLog.log MyApp.exe /?

would run code coverage on the call

MyApp.exe /?

while outputting log information to the file MyLog.log in the current directory.

Options

See the Command Line Flags for an exhaustive reference of the options available within NCover.Console.

See the MsBuild Tasks for a listing of build tool integration options for NCover.Console.

See the NAnt Build Tasks for a listing of build tool integration options for NCover.Console.

See the Configuration File Reference for the options available through NCover Console configuration files.

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online