Partilhar via


Toolset.ToolsPath Property

Definition

Path to this toolset's tasks and targets. Corresponds to $(MSBuildToolsPath) in a project or targets file.

public:
 property System::String ^ ToolsPath { System::String ^ get(); };
public string ToolsPath { get; }
public string ToolsPath { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.ToolsPath : string
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ToolsPath : string
Public ReadOnly Property ToolsPath As String

Property Value

A string representing the path to the Toolset.

Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to