VCCustomBuildRule.TargetRule Property

 

Gets whether to use the target rule.

Namespace:   Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

bool TargetRule { get; }

Property Value

Type: System.Boolean

TRUE indicates that the target rule is to be used.

A target rule is a rule that takes all the files that match the file extensions and produces output files that are not dependent on the input file names (such as the linker which operates on all .obj files and produces a single executable). This property depends on the Outputs property. If the Outputs property does not contain input-specific macros, then the rule is considered to be a target rule. Target rules are required to support file batching.

Return to top
Show: