packageCatalog.PackageUninstalling event is not triggering when a Package is deleted

2024-11-22T21:29:20.3733333+00:00

Hello, how are you?

I'm having a problem with the packageCatalog.PackageUninstalling event. When uninstalling a package from MS Store it is expected to trigger the event packageUninstalling but it does not trigger.

I've tested with PackageCatalog.OpenForCurrentUser(); and PackageCatalog.OpenForCurrentPackage(); in both cases the package is removed without entering on the method that displays a toast to see if it reach.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,548 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,951 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.