You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hello, 'RandomEngy! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future!
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:
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 25MBMicrosoft.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.
The text was updated successfully, but these errors were encountered: