Skip to content

VS: Fix ARM64 host architecture detection in x86 binary

We need to use the 64-bit registry view when we check whether Windows has the ARM64 version of the .NET Framework 4.x installed. Otherwise, the registry value would not be found and CMake would use amd64/MSBuild.exe instead of arm64/MSBuild.exe on Windows 11 with Visual Studio 2022.

Issue: #23755 (closed)
Backport: release
Topic-rename: vs-msbuild-arm64

Edited by Brad King

Merge request reports