NCover.Console Flag Summary

NCover.Console provides numerous features for profiling applications, services, and IIS (ASP.NET) applications.

Service Flags

Name Flags Summary
IIS //iis Allows coverage of IIS.
Windows Services //service, //svc Allows coverage of a service.
Service Timeout //st Sets IIS or Windows Service timeout.

Output Flags

Name Flags Summary
XML Report //xml, //x Outputs XML to a file other than the default.
HTML Report //html, //h Outputs HTML to a directory. Requires Enterprise Edition.
Project Name //project-name Specifies the name of the project for HTML output.
Log File //log-file, //l Logs to a file other than the default.

Profiling Options Flags

Name Flags Summary
Assemblies //assemblies, //a Selects which assemblies to cover.
Coverage Type //coverage-type, //ct Set what type of coverage to collect data for.
Exclude Attributes //exclude-attributes, //ea Excludes classes and methods based on attributes.
Exclude Files //exclude-files, //ef Excludes source files using a list of regular expressions.
Exclude Types //exclude-types, //et Excludes types using a list of regular expressions.
Exclude Methods //exclude-methods, //em Excludes methods using a list of regular expressions.
Disable Autoexclusion //na Turns off auto exclusion.
Process Module //pm Profile only processes that match a particular name.
Symbol Search Policy //ssp Set the symbol search policy.

Program Settings

Name Flags Summary
Register NCover //reg Temporarily registers the NCover DLL.
Wait for Application Load //wait-for-app-load, //wal Sets the maximum number of minutes NCover waits for the profiled process to connect before timing out.
Save Settings //save-settings-file, //s Save coverage settings to a file.
Read Settings //read-settings-file, //r Set coverage settings based on a settings file.
Working Directory //working-directory, //w Set the working directory.

Questions? Comments?

Contact us.