-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
WinUI 💠Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.notifications 🔔
Description
I have a VSTO Add-in project using Uwp.Notifications to toast local notifications. It works fine when I debug it locally.
But it seems that Uwp.Notifications doesn't work in some cases and throws an exception.
System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
at Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder.Show(CustomizeToast customize)
...
I have tried several scenarios and the results are listed below.
| Debug Mode (Visual Studio) |
Install from local vsto manifest |
Clickonce (Install via UNC) |
Clickonce (Install via http/https) |
|---|---|---|---|
| ✔ | ✔ | ✔ | ❌ |
After googling for a long time, I still haven't got any clue to solve this problem.
Does Uwp.Notifications have any restrictions on Apps or Add-ins published via clickonce and installed from internet via http/https?
Nirmal4G
Metadata
Metadata
Assignees
Labels
WinUI 💠Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.notifications 🔔