I use the Microsoft.Toolkit.Uwp.Notifications
Nuget package to add a Notification to my .NET framework 4.7 app following the instructions in the MS documentation. In general, this works fine.
The only thing I would like to do and don't find a way is to use a resource image on this notification.
It does work for images that are not embedded in the app, like described here: https://stackoverflow.com/a/70637809/20292750
I would need, however, to use an image that is embedded in the app resources.
I tried a bunch of different URI schemes like
var imageUri = new Uri("pack://application:,,,/AssemblyName;component/Path/To/Image.png");
var imageUri = new Uri("ms-appdata:///Path/To/Image.png");