❔ Can't use ToastContentBuilder.Show();
Hey, so I've created a WPF project in .NET 7.0 and wanted to use the Microsoft.Toolkit.Uwp.Notifications package with the ToastContentBuilder.
I can't use the Show method for some reason. Documentation says that I should be on version 7.0 (using the newest one 7.1.3 (a downgrade didn't help either)), .NET 6 oder later and at least on net6.0-windows10.0.17763.0 or greater.
Again, a downgrade didn't help here either.
Someone got an idea?
3 Replies
Send a local toast notification from a C# app - Windows apps
Learn how to send a local toast notification from C# apps and handle the user clicking the toast.
if youre on .net 6 use version 6 of the package
if youre on 7 use version 7
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.