-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionality
Description
Describe the problem this feature would solve
Currently when you install Microsoft.Toolkit.Uwp.Notifications on a .NET 5 app, it will give a build error:
Referencing a Windows Metadata component directly when targeting .NETCoreApp,Version=v5.0 is not supported. Use the C#/WinRT projection tool (https://aka.ms/cswinrt) or a provided projection for this target.
I also tried adding a TFM via <TargetFramework>net5.0-windows10.0.17763.0</TargetFramework> as recommended by the docs, but that resulted in different errors about duplicate type declarations. Also it required a rather hefty 25MB Microsoft.Windows.SDK.NET.dll.
Describe the solution
It would be nice for Microsoft.Toolkit.Uwp.Notifications to support .NET 5, possibly by including the right projection to support the Windows Notification APIs.
Metadata
Metadata
Assignees
Labels
feature request 📬A request for new changes to improve functionalityA request for new changes to improve functionality