ToolTask.UseCommandProcessor Property

Definition

When set to true, the tool task will create a batch file for the command-line and execute that using the command-processor, rather than executing the command directly.

C#
public bool UseCommandProcessor { get; set; }
C#
public bool UseCommandProcessor { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

true if the tool task will create a batch file for the command-line and execute that using the command-processor; false if the tool task will execute the command directly.

Attributes

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17