From bfa7d8787f9533fe22b7dffa9889526dc40a0552 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Mon, 10 Jun 2024 18:43:55 -0400 Subject: [PATCH] Build native code with VC v143 toolset only. v143 output is compatible back to VS2017 (at least). Fixes https://github.com/wixtoolset/issues/issues/8211. --- README.md | 2 -- src/Directory.Build.props | 2 +- src/Directory.vcxproj.props | 3 +-- .../WixToolset.BootstrapperApplicationApi.nuspec | 6 +++--- src/api/burn/bextutil/bextutil.nuspec | 6 +++--- src/ext/Bal/wixstdfn/wixstdfn.nuspec | 6 +++--- src/libs/dutil/WixToolset.DUtil/dutil.nuspec | 6 +++--- src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec | 6 +++--- src/wix.vsconfig | 1 - 9 files changed, 17 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index e84365593..600d65bd2 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,6 @@ This repository contains the WiX Toolset codebase. | .NET Framework 4.7.2 SDK | | .NET Framework 4.7.2 targeting pack | | .NET Framework 4.6.2 targeting pack | -| MSVC v141 - VS 2017 C++ ARM64 build tools (v14.16) | -| MSVC v141 - VS 2017 C++ x64/x86 build tools (v14.16) | | MSVC v143 - VS 2022 C++ ARM64/ARM64EC build tools (Latest) | | MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest) | | Git for Windows | diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b27e35d78..c4e528346 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -20,7 +20,7 @@ $(BaseOutputPath)$(Configuration)\ - v141 + v143 $(WixNativeSdkLibraryToolset) v143 diff --git a/src/Directory.vcxproj.props b/src/Directory.vcxproj.props index 9064973db..078309a25 100644 --- a/src/Directory.vcxproj.props +++ b/src/Directory.vcxproj.props @@ -10,9 +10,8 @@ $(OutputPath)$(PlatformFolder)\ - - $([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0')) + 10.0 diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec b/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec index e59b4862d..8618c2f1b 100644 --- a/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec +++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/WixToolset.BootstrapperApplicationApi.nuspec @@ -39,8 +39,8 @@ - - - + + + diff --git a/src/api/burn/bextutil/bextutil.nuspec b/src/api/burn/bextutil/bextutil.nuspec index c6371f4f4..fb329d244 100644 --- a/src/api/burn/bextutil/bextutil.nuspec +++ b/src/api/burn/bextutil/bextutil.nuspec @@ -23,8 +23,8 @@ - - - + + + diff --git a/src/ext/Bal/wixstdfn/wixstdfn.nuspec b/src/ext/Bal/wixstdfn/wixstdfn.nuspec index 334a4101d..f436f3754 100644 --- a/src/ext/Bal/wixstdfn/wixstdfn.nuspec +++ b/src/ext/Bal/wixstdfn/wixstdfn.nuspec @@ -26,8 +26,8 @@ - - - + + + diff --git a/src/libs/dutil/WixToolset.DUtil/dutil.nuspec b/src/libs/dutil/WixToolset.DUtil/dutil.nuspec index 122ad9f92..a87da122e 100644 --- a/src/libs/dutil/WixToolset.DUtil/dutil.nuspec +++ b/src/libs/dutil/WixToolset.DUtil/dutil.nuspec @@ -18,8 +18,8 @@ - - - + + + diff --git a/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec index 5609e82fd..704dedc28 100644 --- a/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec +++ b/src/libs/wcautil/WixToolset.WcaUtil/wcautil.nuspec @@ -21,8 +21,8 @@ - - - + + + diff --git a/src/wix.vsconfig b/src/wix.vsconfig index f72cc5e4c..8fb74dfc2 100644 --- a/src/wix.vsconfig +++ b/src/wix.vsconfig @@ -1,6 +1,5 @@ { "version": "1.0", "components": [ - "Microsoft.VisualStudio.Component.VC.v141.ARM64.Spectre" ] }