V3 Documentation
Search

Instrument Output Assembly

Project-level NCrunch configuration setting Default Value: True

Purpose

This setting controls whether NCrunch should manipulate assemblies built for the applicable project by adding instrumentation to them after successful builds.

Disabling this setting will turn off all code coverage and performance analysis for the applicable project. Exception stack traces returned from the project will also reference source files within the workspace instead of the foreground solution, as NCrunch will not rewrite debugging information for the project.

Recommendations

Disabling this configuration option is not recommended unless you are experiencing problems with NCrunch's instrumentation.

As instrumentation adds weight to code under execution, disabling this configuration option may improve performance. However, selective code coverage suppression is often a better alternative.