-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviornotifications 🔔
Milestone
Description
Hi,
I have the following setup
c++ win32 app -> c++/cli netcore 3.1 -> wpf netcore 3.1
I am trying to send a toast notification from the wpf module but I get this exception

In my case Assembly.GetEntryAssembly() is always null but the code inside GetDisplayNameFromCurrentProcess doesn't manage it:
private static string GetDisplayNameFromCurrentProcess(Process process) { AssemblyTitleAttribute customAttribute = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyTitleAttribute>(); if (customAttribute != null) return customAttribute.Title; return process.ProcessName; }
Metadata
Metadata
Assignees
Labels
Completed 🔥bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviornotifications 🔔