Share via


ToolTask.UseCommandProcessor Property

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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Property UseCommandProcessor As Boolean
public bool UseCommandProcessor { get; set; }
public:
property bool UseCommandProcessor {
    bool get ();
    void set (bool value);
}
member UseCommandProcessor : bool with get, set
function get UseCommandProcessor () : boolean 
function set UseCommandProcessor (value : boolean)

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 Security

See Also

Reference

ToolTask Class

Microsoft.Build.Utilities Namespace