ToolLocationHelper.FilterPlatformExtensionSDKs Method
Gets a dictionary containing a collection of extension SDKs, and filters it based on the target platform version. If the maximum platform version isn't set in the extension SDK manifest, add the extension SDK to the filtered list.
Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Public Shared Function FilterPlatformExtensionSDKs ( _
targetPlatformVersion As Version, _
extensionSdks As IDictionary(Of String, String) _
) As IDictionary(Of String, String)
public static IDictionary<string, string> FilterPlatformExtensionSDKs(
Version targetPlatformVersion,
IDictionary<string, string> extensionSdks
)
public:
static IDictionary<String^, String^>^ FilterPlatformExtensionSDKs(
Version^ targetPlatformVersion,
IDictionary<String^, String^>^ extensionSdks
)
static member FilterPlatformExtensionSDKs :
targetPlatformVersion:Version *
extensionSdks:IDictionary<string, string> -> IDictionary<string, string>
public static function FilterPlatformExtensionSDKs(
targetPlatformVersion : Version,
extensionSdks : IDictionary<String, String>
) : IDictionary<String, String>
Parameters
targetPlatformVersion
Type: System.VersionThe target platform version.
Return Value
Type: IDictionary<String, String>
A dictionary of extension SDKs filtered by the target platform version.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.