From 73d5206160caaa008903483629babd3a4d32f6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 20 Jun 2023 20:48:06 +0200 Subject: [PATCH] ci: add missing platform tools from VS build tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes this failure: ``` error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install Visual Studio 2017 build tools. ``` Signed-off-by: Jakub SokoĊ‚owski --- scripts/windows_build_setup.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/windows_build_setup.ps1 b/scripts/windows_build_setup.ps1 index 3906aa52b9..463bcfb9ce 100644 --- a/scripts/windows_build_setup.ps1 +++ b/scripts/windows_build_setup.ps1 @@ -51,7 +51,8 @@ function Install-VC-BuildTools { "--add", "Microsoft.VisualStudio.Component.Windows10SDK.10240", "--add", "Microsoft.VisualStudio.Component.Windows10SDK.14393", "--add", "Microsoft.VisualStudio.Component.Windows81SDK", - "--add", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81" + "--add", "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Win81", + "--add", "Microsoft.VisualStudio.ComponentGroup.UWP.VC.v141.BuildTools" ) Start-Process -Wait -PassThru -FilePath $VCBuildToolsExe -ArgumentList $VCBuildToolsArgs }