Partager via


ToolTask.ToolPath Property

Gets or sets the path of the executable file to run.

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 ToolPath As String
public string ToolPath { get; set; }
public:
property String^ ToolPath {
    String^ get ();
    void set (String^ value);
}
member ToolPath : string with get, set
function get ToolPath () : String 
function set ToolPath (value : String)

Property Value

Type: System.String
The path of the file to run.

.NET Framework Security

See Also

Reference

ToolTask Class

Microsoft.Build.Utilities Namespace