Skip to content

Microsoft.Toolkit.Uwp.Notifications support in .NET 5 #3795

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

Closed
RandomEngy opened this issue Feb 28, 2021 · 2 comments
Closed

Microsoft.Toolkit.Uwp.Notifications support in .NET 5 #3795

RandomEngy opened this issue Feb 28, 2021 · 2 comments
Labels
feature request 📬 A request for new changes to improve functionality

Comments

@RandomEngy
Copy link

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.

@RandomEngy RandomEngy added the feature request 📬 A request for new changes to improve functionality label Feb 28, 2021
@ghost
Copy link

ghost commented Feb 28, 2021

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!

@RandomEngy
Copy link
Author

Nevermind, found #3622

@ghost ghost locked as resolved and limited conversation to collaborators Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request 📬 A request for new changes to improve functionality
Projects
None yet
Development

No branches or pull requests

1 participant