AppNotificationBuilder.BuildNotification fails with ComException when the character ' appears on a AppNotificationButton #4996
Labels
area-Notifications
Toast notification, badges, Live Tiles, push notifications
Describe the bug
When trying to create a AppNotificationBuilder, buttons can't contain the
'
character, or otherwhise when calling the builder.BuildNotification method the following COMException will be thrown:Steps to reproduce the bug
IMPORTANT: This bug is only reproducable when the solution is built as "Release", as "Debug" builds will work without further issues
The following code causes the issue:
Expected behavior
Notifications to support
'
characters on buttons.Screenshots
N/A
NuGet package version
Windows App SDK 1.6.3: 1.6.241114003
Packaging type
Unpackaged
Windows version
Windows 11 version 22H2 (22621, 2022 Update)
IDE
Other
Additional context
I have tried escaping the ' character by
\\'
with no luck,The text was updated successfully, but these errors were encountered: