microsoft / microsoft/WindowsAppSDK
Unable to publish unpackaged WinUI3 application
Open
Nobody has claimed this yet.
area-dotnet
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
Describe the bug
Attempting to publish an unpackaged MAUI application with 1.6 WASDK and .NET 9 results in the following obscure error message:
WindowsAppSDKSelfContained requires a supported Windows architecture.
The command I'm using to publish is linked below.
dotnet publish myapp.csproj -c Release -f net9.0-windows10.0.19041.0 -p:WindowsPackageType=None -p:SelfContained=true -p:WindowsAppSDKSelfContained=true -p:RuntimeIdentifierOverride=win-x64
Steps to reproduce the bug
I can't reproduce this out of the box, but I have no idea where to look at building a repro for this.
Expected behavior
Compiles
Screenshots
No response
NuGet package version
None
Packaging type
Unpackaged
Windows version
No response
IDE
Other
Additional context
Windows App SDK version: 1.6.240923002
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.