You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
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?
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.
I have tried several scenarios and the results are listed below.
(Visual Studio)
local vsto manifest
(Install via UNC)
(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?