A cross-platform C# library for native desktop "toast" notifications.
MIT License
176
stars
27
forks
source link
System.TypeLoadException: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat' from assembly 'Microsoft.Toolkit.Uwp.Notifications #27
manager = new WindowsNotificationManager(context);
System.TypeLoadException: 'Could not load type 'Microsoft.Toolkit.Uwp.Notifications.ToastNotificationManagerCompat' from assembly 'Microsoft.Toolkit.Uwp.Notifications, Version=7.1.0.0, Culture=neutral, PublicKeyToken=4aff67a105548ee2'.'
All nuget installed:
Using net6.0, when publishing with net6.0 win-x64 does the same result.
Using latest nuget in Avalonia raises:
manager = new WindowsNotificationManager(context);
All nuget installed:
Using net6.0, when publishing with net6.0 win-x64 does the same result.