V3 Documentation
Search

Use Build Platform

Project-level NCrunch configuration setting Default Value: (null)

Purpose

This configuration setting controls the value of the $(Platform) property that is injected into builds being performed by NCrunch.

When no value is specified for this setting, NCrunch will rely on the default $(Platform) specified in the project file (usually this is 'AnyCPU').

Recommendations

Normally, the $(Platform) property is injected into the build from the Visual Studio IDE. As NCrunch does not track build configurations within Visual Studio, this setting is a useful way to more closely align the NCrunch build with any custom configuration selected inside Visual Studio.

For more information about why this setting is important and the problems it can solve, refer to Project Build Platform And Configuration.