This issue exists to capture/organize all information pertaining to upgrading to .NET 5 and issues with the Notifications library resulting from that upgrade.
Issue 1: Compiling the "native" (WinMD version for C++) version doesn't work. We temporarily removed the native target from the csproj file.
Issue 2 (Fixed with #3582): UWP C# min version target has increased to 17763, so can no longer use the new Show() APIs/etc on UWP apps that still target min version 10240.

Issue 3 (Fixed in PR with #3622): Library doesn't work from .NET 5 WebApi project: #3565
Issue 4 (Fixed in PR with #3622): Library doesn't work from .NET 5 Windows app project: #3579
Issue 5: When library is used with .NET Native compiled C# UWP app, toasts no longer work: #3093
Hello andrewleader, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 馃檶
@andrewleader Thanks for highlighting the issue and taking the lead 鉂わ笍
Let us know regarding updates or any assistance you may require.
Hello @andrewleader. Do we have an estimated date for the fix yet? We can't migrate our WPF app to Net 5.0 until this is fixed. Thanks.
Hey @jmithy, no ETA yet, I was focusing on the C++ issue first but seems like I should possibly prioritize .NET 5.0. I haven't had any time to work on this recently but hopefully Thurs or Fri I will. Do you have any experience here and know what might be the cause? I'm open to any help, but also totally fine if you have no clue why it doesn't work either and simply just want it to work :)
Hello @andrewleader. I'd love to help out but unfortunately I don't have any clue about it.
@jmithy .NET 5 should be working by end of day today hopefully! Not sure when the next prerelease package will be released, but we should at least have a package built that you can download and locally reference by today!
Notes to self: My .NET 5 changes seem to have broken keeping the UWP package version at 10240 :P
Hey @jmithy we've got .NET 5 working in a pull request, you can download the built NuGet package from here: https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/results?buildId=43110&view=artifacts&pathAsName=false&type=publishedArtifacts
Hello @andrewleader,
We are building a WinForms component that is using the Notifications Toolkit and we are glad to see that it can build in .NET 5!
Do you have an idea, when it's going to be officially released?
Best regards,
Stoyan
Hey @100RH, glad to see you're going to use notifications in WinForms! We're tentatively targeting a January release (we should at least have another preview out early Jan).
I'd love to hear if the new NuGet package (from that build artifacts link) works for you and would love to hear any feedback you have! Have you looked through the updated notification features in 7.0, which let you send notifications without setting up a Start menu shortcut like previously? The preview docs are here.