Describe the bug
PackageCatalog.PackageUpdating event cause app exit abnormally
--------------------------
PackageCatalog.PackageUpdating 事件导致应用退出异常
Steps to reproduce the bug
Create a blank WinUI 3 application
PackageCatalog.PackageUpdating events
Exit the application
Observe the performance of the corresponding process in the Task Manager (or mount the Visual Studio debugger to view)
--------------------------
创建一个空白 WinUI 3 应用
挂载 PackageCatalog.PackageUpdating 事件
退出应用
看任务管理器对应进程的表现(或挂载 Visual Studio 调试器查看)
Expected behavior
Mount PackageCatalog.PackageUpdating event, application can exit out of normal process will not trigger the exception
--------------------------
挂载 PackageCatalog.PackageUpdating 事件后,应用退出能正常退出进程,不会触发异常
Screenshots
NuGet package version
Windows App SDK 1.8.3: 1.8.251106002
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 LTSC (26100, June Update)
26220.7070
IDE
Visual Studio 2022
Additional context
QQ20251116-10612.mp4
https://learn.microsoft.com/uwp/api/windows.applicationmodel.packagecatalog.packageupdating?view=winrt-26100
App1.zip
Similar issues:
microsoft/winget-cli#5870
microsoft/winget-cli#5869
Describe the bug
PackageCatalog.PackageUpdatingevent cause app exit abnormally--------------------------
PackageCatalog.PackageUpdating事件导致应用退出异常Steps to reproduce the bug
PackageCatalog.PackageUpdatingevents--------------------------
Expected behavior
Mount
PackageCatalog.PackageUpdatingevent, application can exit out of normal process will not trigger the exception--------------------------
挂载
PackageCatalog.PackageUpdating事件后,应用退出能正常退出进程,不会触发异常Screenshots
NuGet package version
Windows App SDK 1.8.3: 1.8.251106002
Packaging type
Packaged (MSIX)
Windows version
Windows 11 version 24H2 LTSC (26100, June Update)
26220.7070
IDE
Visual Studio 2022
Additional context
QQ20251116-10612.mp4
https://learn.microsoft.com/uwp/api/windows.applicationmodel.packagecatalog.packageupdating?view=winrt-26100
App1.zip
Similar issues:
microsoft/winget-cli#5870
microsoft/winget-cli#5869