Skip to content

fix: pin Visual Studio solution platform to x64 - #2

Merged
piranout merged 1 commit into
mainfrom
cursor/pin-slnx-x64-0ec6
Aug 20, 2026
Merged

fix: pin Visual Studio solution platform to x64#2
piranout merged 1 commit into
mainfrom
cursor/pin-slnx-x64-0ec6

Conversation

@piranout

@piranout piranout commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Visual Studio opens a platform-less Reentry.slnx as Any CPU. Reentry.App lists x86;x64;ARM64 only — WinUI + WindowsAppSDKSelfContained rejects AnyCPU — so Rebuild reports 0 succeeded, 0 failed, 1 skipped.

CI dotnet build Reentry.slnx -c Release already defaults RID to win-x64 (PR #1). This is the Visual Studio side.

Change

Reentry.slnx now declares a single solution platform:

<Configurations>
  <Platform Name="x64" />
</Configurations>

No Any CPU / AnyCPU. The App project is unchanged (x86;x64;ARM64 stay on the csproj). Tests stay out of the slnx.

Verify

  • slnx has x64 and no Any CPU
  • CI dotnet build Reentry.slnx -c Release still green
  • In Visual Studio, solution platform is x64 and Rebuild builds Reentry.App
Open in Web Open in Cursor 

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>
@piranout
piranout marked this pull request as ready for review August 20, 2026 20:48
@piranout
piranout merged commit 0157b18 into main Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants