Open Manohar-Gunturu opened 1 year ago
Hello Manohar-Gunturu, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
This is defined by the Core package itself here:
There shouldn't be a reason for it not to be found. Unless if you custom template doesn't have a dismiss button maybe? Otherwise, you should be able to define the full resource string in your app.
In either case, InAppNotification
won't ship in the upcoming 8.0 release. It's been replaced with the StackedNotificationsBehavior
on top of WinUI's InfoBar
control. So, I'd recommend that approach moving forward with the incoming 8.0 release.
Line throwing the error 'ResourceMap Not Found': https://github.com/CommunityToolkit/WindowsCommunityToolkit/blob/2d608fdb831380fb2827ec18d24efa59c9ff0ef2/Microsoft.Toolkit.Uwp.UI.Controls.Core/InAppNotification/InAppNotification.cs#L70
We have defined our own InAppNotificationAlias.Template and this line has been crashing the app on Win10. Is our app supposed to access Microsoft.Toolkit.Uwp.UI.Controls.Core/Resources, or do we need to define the WCT_InAppNotification_DismissButton_AutomationName string in the app's resource file?