Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not publish WinUI 3 app for ARM64 architecture with WAP project #9998

Open
aries-zhang opened this issue Sep 17, 2024 · 1 comment
Open
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@aries-zhang
Copy link

Describe the bug

In VisualStudio Version 17.12.0 Preview 2.0, The RuntimeIdentifier platform 'win-x64' and the PlatformTarget 'arm64' must be compatible. is thrown when attempting to publish a blank WinUI 3 app with Debug (ARM64) config using a WAP project.

Steps to reproduce the bug

  1. Update to VisualStudio Version 17.12.0 Preview 2.0.
  2. Create a blank WinUI 3 app with template "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)".
  3. Build and publish the project with steps mentioned in this issue: WinUI 3 blank app packaged with WAP project does not start when published #9996
  4. Choose only ARM64, "Debug ARM64" in the publish dialog
    image
  5. The error message is shown:
    image

Expected behavior

The package should be able to successfully publish.

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007

Windows version

Windows 11 (22H2): Build 22621

Additional context

This is to try to workaround the issue here #9996, while the other issue mentioned VS 17.12 has a fix: #9740 (comment).

@aries-zhang aries-zhang added the bug Something isn't working label Sep 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Sep 17, 2024
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant