VCCustomBuildRule.TargetRule Property
Gets whether to use the target rule.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
ReadOnly Property TargetRule As Boolean
bool TargetRule { get; }
property bool TargetRule {
bool get ();
}
abstract TargetRule : bool with get
function get TargetRule () : boolean
Property Value
Type: System.Boolean
TRUE indicates that the target rule is to be used.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.