From dd9ef9e588a2a214658a4e8363729647474a21d8 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Tue, 2 Oct 2018 22:27:15 +0200 Subject: [PATCH] Select latest Windows 10 SDK when building with MSVS 2017 Unfortunately Visual Studio 2017 defaults to Windows SDK 8.1 which is not installed with it. This workaround automatically targets the latest Windows 10 SDK when building. Closes https://github.com/wxWidgets/wxWidgets/pull/959 Closes #18078. --- build/msw/wx_config.props | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/msw/wx_config.props b/build/msw/wx_config.props index 4419b2bb28..006464cc88 100644 --- a/build/msw/wx_config.props +++ b/build/msw/wx_config.props @@ -10,4 +10,10 @@ v140 v141 + + + $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + $(LatestTargetPlatformVersion) + $(WindowsTargetPlatformVersion) +