ToolLocationHelper.GetPathToDotNetFrameworkSdk ToolLocationHelper.GetPathToDotNetFrameworkSdk ToolLocationHelper.GetPathToDotNetFrameworkSdk ToolLocationHelper.GetPathToDotNetFrameworkSdk Method

Definition

Gets the fully qualified path to the \bin directory of the .NET Framework SDK.

Overloads

GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion)

Gets the fully qualified path to the \bin directory of the .NET Framework SDK.

GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion)

Returns the path to the "bin" directory of the .NET Framework SDK.

GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion)

Gets the fully qualified path to the \bin directory of the .NET Framework SDK.

public:
 static System::String ^ GetPathToDotNetFrameworkSdk(Microsoft::Build::Utilities::TargetDotNetFrameworkVersion version);
public static string GetPathToDotNetFrameworkSdk (Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version);
static member GetPathToDotNetFrameworkSdk : Microsoft.Build.Utilities.TargetDotNetFrameworkVersion -> string
Public Shared Function GetPathToDotNetFrameworkSdk (version As TargetDotNetFrameworkVersion) As String

Parameters

Returns

A string containing the fully qualified path to the \bin directory of the .NET Framework SDK, or a null reference (Nothing in Visual Basic) if the targeted version of the .NET Framework SDK is not installed.

GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion) GetPathToDotNetFrameworkSdk(TargetDotNetFrameworkVersion, VisualStudioVersion)

Returns the path to the "bin" directory of the .NET Framework SDK.

public:
 static System::String ^ GetPathToDotNetFrameworkSdk(Microsoft::Build::Utilities::TargetDotNetFrameworkVersion version, Microsoft::Build::Utilities::VisualStudioVersion visualStudioVersion);
public static string GetPathToDotNetFrameworkSdk (Microsoft.Build.Utilities.TargetDotNetFrameworkVersion version, Microsoft.Build.Utilities.VisualStudioVersion visualStudioVersion);
static member GetPathToDotNetFrameworkSdk : Microsoft.Build.Utilities.TargetDotNetFrameworkVersion * Microsoft.Build.Utilities.VisualStudioVersion -> string

Parameters

visualStudioVersion
VisualStudioVersion VisualStudioVersion VisualStudioVersion VisualStudioVersion

Version of Visual Studio the requested SDK is associated with

Returns

Path string.

Applies to