I am trying to build an unpackaged WPF app with Windows 10 Toast Notifications. I would like to make an AppLogoOverride to get a resource from the Resources class of my application. I have tried to do this so far:
public void ShowToast() {
  var toast = new ToastContentBuilder()
    .AddText("Foo!")
    .AddText("Bar.")
    .AddAppLogoOverride(new Uri("pack://application:,,,/Resources/foobar.png"), ToastGenericAppLogoCrop.Circle)
    .SetToastScenario(ToastScenario).Reminder);
  ToastNoticiationManagerCompat.CreateToastNotifier().Show(toast);
}
When doing so, the notification just says the generic "New Notification" text. So I tried commenting out the part that says AddAppLogoOverride, and it started to work. So I am not sure how to get the image from Resources.
I would also like to mention that there is no way for me to use something like ms-appdata:// or others, I am not sure how to go about doing this, and I really don't want to write the file locally to the disk.
 
    