共用方式為


ToolLocationHelper.GetPlatformSDKLocation Method

Include Protected Members
Include Inherited Members

Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member GetPlatformSDKLocation(String, String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member GetPlatformSDKLocation(String, Version) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member GetPlatformSDKLocation(String, String, String, String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public methodStatic member GetPlatformSDKLocation(String, Version, array<String[], String) Given a target platform identifier and a target platform version, search the default SDK locations for the platform SDK for that target platform.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

See Also

Reference

ToolLocationHelper Class

Microsoft.Build.Utilities Namespace