ToolLocationHelper.GetDotNetFrameworkSdkRootRegistryKey Method

Definition

Returns the full name of the .NET Framework SDK root registry key.

Overloads

GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion)

Returns the full name of the .NET Framework SDK root registry key.

GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion, VisualStudioVersion)

Returns the full name of the .NET Framework SDK root registry key.

GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion)

Returns the full name of the .NET Framework SDK root registry key.

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

Parameters

version
TargetDotNetFrameworkVersion

Version of the targeted .NET Framework

Returns

A string representation of the registry key root which indicates where to find the .NETFramework sdk.

GetDotNetFrameworkSdkRootRegistryKey(TargetDotNetFrameworkVersion, VisualStudioVersion)

Returns the full name of the .NET Framework SDK root registry key.

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

Parameters

version
TargetDotNetFrameworkVersion

Version of the targeted .NET Framework

visualStudioVersion
VisualStudioVersion

Version of Visual Studio the requested SDK is associated with

Returns

Returns String.

Applies to