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

All UWP packages are broken on .NET 9 because of Uno references #238

Open
1 of 7 tasks
Sergio0694 opened this issue Dec 21, 2024 · 0 comments
Open
1 of 7 tasks

All UWP packages are broken on .NET 9 because of Uno references #238

Sergio0694 opened this issue Dec 21, 2024 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@Sergio0694
Copy link
Member

Sergio0694 commented Dec 21, 2024

Describe the bug

I was testing the new builds from main and noticed all UWP packages are broken on .NET 9:

Image

The core of the issue is that we have a net9.0 TFM pulling in Uno dependencies. We should not do this. The official guidance for packages that have UI framework dependencies is to have different packages for different UI frameworks. Uno should have their own packages as well. We need 4:

  • *.Uwp: UWP .NET Native and .NET 9
  • *.Uwp.Uno: UWP XAML Uno flavor
  • *.WinUI: WinUI 3
  • *.WinUI.Uno: WinUI 3 Uno flavor

As a short term solution, we can add a net9.0-windows10.0.26100.0 TFM to work around the issue for UWP .NET 9 consumers.

Code Platform

  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants