WindowsAppSDK
WindowsAppSDK copied to clipboard
App broken by DeploymentManagerAutoInitializer.cs throw COMException
Describe the bug
App broken by running var options = new global::Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions(); in DeploymentManagerAutoInitializer.cs. It works fine when I jump out of it.
Steps to reproduce the bug
- Create a Windows App SDK project
- Run it
Expected behavior
Running succeed.
Screenshots
NuGet package version
Windows App SDK 1.8.0: 1.8.250907003
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 11 version 24H2 LTSC (26100, June Update)
IDE
Visual Studio 2022-preview
Additional context
No response
Fixed it by set <WindowsAppSdkDeploymentManagerInitialize>False</WindowsAppSdkDeploymentManagerInitialize>
Same issue here on Windows 10 1809. It worked fine with WinAppSDK 1.7.