Partager via


Toolset.ToolsPath Property

Gets a path to the tasks and targets of this toolset.

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.Evaluation
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public Property ToolsPath As String
public string ToolsPath { get; private set; }
public:
property String^ ToolsPath {
    String^ get ();
    private: void set (String^ value);
}
member ToolsPath : string with get, private set
function get ToolsPath () : String 
private function set ToolsPath (value : String)

Property Value

Type: System.String
Returns a path to the tasks and targets of this toolset.

Remarks

Corresponds to $(MSBuildToolsPath) in a project or targets file.

.NET Framework Security

See Also

Reference

Toolset Class

Microsoft.Build.Evaluation Namespace