다음을 통해 공유


ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix Method

Definition

Returns the prefix of the .NET Framework version folder (e.g. "v2.0")

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

Parameters

version
TargetDotNetFrameworkVersion

Version of the targeted .NET Framework

Returns

Remarks

An example of the value returned is the string "v2.0".

Applies to