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
So I am using this code and OnActivated is never raised for my Application package that is packaged as MSIX. The appxmanifest contains multiple application and OnActivated event is raised ONLY if this declaration in appxmanifest is on first Application entry
I started debugging and found this line of code that have hardcoded XPATH that looks for CLSID only in the first application entry in the appxmanifest
internalstring GetClsidFromPackageManifest(){varactivatorClsidNode= _doc.SelectSingleNode("/default:Package/default:Applications/default:Application[1]/default:Extensions/desktop:Extension[@Category='windows.toastNotificationActivation']/desktop:ToastNotificationActivation/@ToastActivatorCLSID", _namespaceManager);if(activatorClsidNode==null){thrownew InvalidOperationException("Your app manifest must have a toastNotificationActivation extension with a valid ToastActivatorCLSID specified.");}
ToastNotificationManagerCompat stop working entirely if multiple apps are declared in your AppxManifest and the COM server is not declared in the first in the application list.
Regression
No response
Reproducible in sample app?
This bug can be reproduced in the sample app.
Steps to reproduce
Create Packaged application as MSIX with multiple application in the appxmanifest. Declare com server in any app other than the first one.
Expected behavior
OnActivated should be raised regarding of the order of the app that register the com server
Screenshots
No response
Windows Build Number
Windows 10 1809 (Build 17763)
Windows 10 1903 (Build 18362)
Windows 10 1909 (Build 18363)
Windows 10 2004 (Build 19041)
Windows 10 20H2 (Build 19042)
Windows 10 21H1 (Build 19043)
Windows 11 21H2 (Build 22000)
Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
Windows 10, version 1809 (Build 17763)
Windows 10, version 1903 (Build 18362)
Windows 10, version 1909 (Build 18363)
Windows 10, version 2004 (Build 19041)
Other (specify)
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Nuget packages
No response
Additional context
No response
Help us help you
No.
The text was updated successfully, but these errors were encountered:
Describe the bug
So I am using this code and OnActivated is never raised for my Application package that is packaged as MSIX. The appxmanifest contains multiple application and OnActivated event is raised ONLY if this declaration in appxmanifest is on first Application entry
I started debugging and found this line of code that have hardcoded XPATH that looks for CLSID only in the first application entry in the appxmanifest
ToastNotificationManagerCompat stop working entirely if multiple apps are declared in your AppxManifest and the COM server is not declared in the first in the application list.
Regression
No response
Reproducible in sample app?
Steps to reproduce
Expected behavior
OnActivated should be raised regarding of the order of the app that register the com server
Screenshots
No response
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Nuget packages
No response
Additional context
No response
Help us help you
No.
The text was updated successfully, but these errors were encountered: