Enable VS 2026 solution generation and improve ARM64 developer experience#14283
Merged
Enable VS 2026 solution generation and improve ARM64 developer experience#14283
Conversation
…ence - Auto-detect host architecture when TARGET_PLATFORM and CMAKE_GENERATOR_PLATFORM are unset, defaulting to ARM64 on ARM64 hosts - Fix trailing '|' in platform regex that made the else branch unreachable - Refactor Visual Studio detection to prefer VS2022 and fall back to VS2026 with a clang-format warning- Document x64 .NET 6.0 runtime setup required for WiX on ARM64
OneBlue
approved these changes
Feb 25, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Enables better Visual Studio solution generation across VS2022/VS2026 while improving ARM64 Windows developer setup and documentation.
Changes:
- Default
TARGET_PLATFORMbased on host architecture when no platform is specified. - Fix platform matching logic and refactor Visual Studio (vswhere) detection with a VS2022→VS2026 fallback warning.
- Document ARM64 Windows requirement to install x64 .NET 6 runtime for WiX.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| doc/docs/dev-loop.md | Adds ARM64-specific guidance for installing x64 .NET 6 runtime needed by WiX. |
| CMakeLists.txt | Adds host-arch defaulting, fixes regex, and refactors VS detection to support VS2022/VS2026. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.