Skip to content

Fix CascadiaPackage platform mapping in OpenConsole.slnx#20063

Open
katlun-lgtm wants to merge 1 commit intomicrosoft:mainfrom
katlun-lgtm:fix/cascadiapackage-platform-mapping
Open

Fix CascadiaPackage platform mapping in OpenConsole.slnx#20063
katlun-lgtm wants to merge 1 commit intomicrosoft:mainfrom
katlun-lgtm:fix/cascadiapackage-platform-mapping

Conversation

@katlun-lgtm
Copy link
Copy Markdown

Map '|Any CPU' to 'Win32' (not 'x86') to match the project's actual configuration names (Debug|Win32, Release|Win32). Also add an explicit '|x86 -> Win32' mapping so solution platform x86 resolves correctly.

Fixes VS warning: solution specifies a project configuration that does not exist for CascadiaPackage.wapproj.

Summary of the Pull Request

References and Relevant Issues

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

PR Checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated
    • If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)

Map '*|Any CPU' to 'Win32' (not 'x86') to match the project's actual
configuration names (Debug|Win32, Release|Win32). Also add an explicit
'*|x86 -> Win32' mapping so solution platform x86 resolves correctly.

Fixes VS warning: solution specifies a project configuration that does
not exist for CascadiaPackage.wapproj.
Copy link
Copy Markdown
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@DHowett
Copy link
Copy Markdown
Member

DHowett commented Apr 3, 2026

/azp run

@DHowett DHowett enabled auto-merge (squash) April 3, 2026 22:15
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@carlos-zamora
Copy link
Copy Markdown
Member

Looks like x86 is failing:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\DesktopBridge\Microsoft.DesktopBridge.targets(320,5): Error MSB3779: The processor architecture of the project being built "Win32" is not supported by the referenced SDK "Microsoft.VCLibs.Desktop, Version=14.0". Please consider changing the targeted processor architecture of your project (in Visual Studio this can be done through the Configuration Manager) to one of the architectures supported by the SDK: "x86, x64, ARM, ARM64".

@DHowett
Copy link
Copy Markdown
Member

DHowett commented Apr 6, 2026

Yeah I was going to say, Windows App Packaging projects are special. I checked ours and it seemed like this should work, but I am not surprised that it does not.

<BuildType Solution="Fuzzing|*" Project="Debug" />
<Platform Solution="*|Any CPU" Project="x86" />
<Platform Solution="*|Any CPU" Project="Win32" />
<Platform Solution="*|x86" Project="Win32" />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately, yes, x86 is actually the platform name used in Windows Desktop Bridge packaging projects.

Copy link
Copy Markdown
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noted

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants