Export (0) Print
Expand All

ToolLocationHelper.HighestVersionOfTargetFrameworkIdentifier Method

Gets the highest version of a target framework moniker based on the identifier.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public static FrameworkName HighestVersionOfTargetFrameworkIdentifier(
	string targetFrameworkRootDirectory,
	string frameworkIdentifier
)

Parameters

targetFrameworkRootDirectory
Type: System.String

Target framework root directory.

frameworkIdentifier
Type: System.String

Framework identifier.

Return Value

Type: System.Runtime.Versioning.FrameworkName
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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft