ToolLocationHelper.GetPathToBuildTools Method

Definition

Overloads

GetPathToBuildTools(String, DotNetFrameworkArchitecture)

Given a ToolsVersion, return the path to the MSBuild tools for that ToolsVersion

GetPathToBuildTools(String)

Given a ToolsVersion, return the path to the MSBuild tools for that ToolsVersion

GetPathToBuildTools(String, DotNetFrameworkArchitecture)

Source:
ToolLocationHelper.cs

Given a ToolsVersion, return the path to the MSBuild tools for that ToolsVersion

public:
 static System::String ^ GetPathToBuildTools(System::String ^ toolsVersion, Microsoft::Build::Utilities::DotNetFrameworkArchitecture architecture);
public static string GetPathToBuildTools (string toolsVersion, Microsoft.Build.Utilities.DotNetFrameworkArchitecture architecture);
static member GetPathToBuildTools : string * Microsoft.Build.Utilities.DotNetFrameworkArchitecture -> string
Public Shared Function GetPathToBuildTools (toolsVersion As String, architecture As DotNetFrameworkArchitecture) As String

Parameters

toolsVersion
String

The ToolsVersion for which to get the tools path

architecture
DotNetFrameworkArchitecture

The architecture of the build tools location to get

Returns

The tools path folder of the appropriate ToolsVersion if it exists, otherwise null.

Applies to

GetPathToBuildTools(String)

Source:
ToolLocationHelper.cs

Given a ToolsVersion, return the path to the MSBuild tools for that ToolsVersion

public:
 static System::String ^ GetPathToBuildTools(System::String ^ toolsVersion);
public static string GetPathToBuildTools (string toolsVersion);
static member GetPathToBuildTools : string -> string
Public Shared Function GetPathToBuildTools (toolsVersion As String) As String

Parameters

toolsVersion
String

The ToolsVersion for which to get the tools path

Returns

The tools path folder of the appropriate ToolsVersion if it exists, otherwise null.

Applies to