NCover Documentation
Docs  ›  Legacy  ›  Reference  ›  NCover 3.0  ›  NCover Console  ›  MSBuild  ›  NCover 3 MSBuild Services

IIS

Complete Edition Feature

NCover will start IIS and cover any code executed within it. Once IIS is stopped NCover will gather the coverage data. NCover will stop IIS if it is already running before starting it again.

Usage:
ProfileService="W3SVC"

Service Timeout

Complete Edition Feature

After the given number of minutes, NCover will forcibly stop IIS or the service started with //svc and gather coverage data from it. Pass 0 (zero) to tell NCover not to stop the service. (By default, NCover will not stop the service)

Usage:
ServiceTimeout="5"

Windows Services

Complete Edition Feature

NCover will start and cover any code executed within the given service. NOTE: the parameter is the service's "Service Name" not the "Display Name".

Usage:
ProfileService="MSDTC"

Service Arguments

Complete Edition Feature

Adds startup arguments to the windows service argument list. Seperate arguments with a semicolon (';').

Usage:
ServiceArguments="argument 1;argument 2"

If you still need technical assistance, we can help:

Submit A Support Ticket