BoxKite.Notifications
BoxKite.Notifications copied to clipboard
Setting the locale breaks stuff (?!?!)
From https://gist.github.com/xpaulbettsx/5632430
var toast = ToastContentFactory.CreateToastText02();
toast.TextHeading.Text = "A Thing!";
toast.TextBodyWrap.Text = "DO IT";
toast.Lang = "en-US";
toast.BaseUri = "http://google.com";
toast.Duration = BoxKite.Notifications.ToastDuration.Long;
toast.StrictValidation = false;
ToastNotificationManager.CreateToastNotifier().Show(new ToastNotification(toast.GetXml()));
and removing this line:
toast.Lang = "en-US";
Fixes All The Things
@xpaulbettsx - I know this came up a while ago, but is there anything in Event Viewer which might have explained this?
Applications and Services Logs > Microsoft > Windows > Immersive-Shell > Microsoft-Windows-TWinUI > Operational