ToolLocationHelper.HighestVersionOfTargetFrameworkIdentifier 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.
This method will return the highest version of a target framework moniker based on the identifier. This method will only find full frameworks, this means no profiles will be returned.
public:
static System::Runtime::Versioning::FrameworkName ^ HighestVersionOfTargetFrameworkIdentifier(System::String ^ targetFrameworkRootDirectory, System::String ^ frameworkIdentifier);
public static System.Runtime.Versioning.FrameworkName HighestVersionOfTargetFrameworkIdentifier (string targetFrameworkRootDirectory, string frameworkIdentifier);
static member HighestVersionOfTargetFrameworkIdentifier : string * string -> System.Runtime.Versioning.FrameworkName
Public Shared Function HighestVersionOfTargetFrameworkIdentifier (targetFrameworkRootDirectory As String, frameworkIdentifier As String) As FrameworkName
Parameters
- targetFrameworkRootDirectory
- String
Target framework root directory.
- frameworkIdentifier
- String
Framework identifier.
Returns
The highest version of a target framework moniker based on the identifier. This method will only find full frameworks; no profiles will be returned.