ToolLocationHelper.GetDotNetFrameworkVersionFolderPrefix Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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".