ToolTask.UseCommandProcessor Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a switch that specifies whether 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.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public bool UseCommandProcessor { get; set; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 4.0
Return to top
Show: