fix: pin Visual Studio solution platform to x64 - #2
Merged
Conversation
Visual Studio opens a platform-less slnx as Any CPU. Reentry.App has no AnyCPU (WinUI + WASDK self-contained), so Rebuild skips the app. Declare only x64; keep x86/ARM64 on the csproj. Co-authored-by: Paul Smith <piranout@users.noreply.github.com>
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.
Visual Studio opens a platform-less
Reentry.slnxas Any CPU.Reentry.Applistsx86;x64;ARM64only — WinUI +WindowsAppSDKSelfContainedrejects AnyCPU — so Rebuild reports0 succeeded, 0 failed, 1 skipped.CI
dotnet build Reentry.slnx -c Releasealready defaults RID towin-x64(PR #1). This is the Visual Studio side.Change
Reentry.slnxnow declares a single solution platform:No Any CPU / AnyCPU. The App project is unchanged (
x86;x64;ARM64stay on the csproj). Tests stay out of the slnx.Verify
x64and no Any CPUdotnet build Reentry.slnx -c Releasestill green