Describe the bug
I found out all winui3 / wasdk packaged app (no matter C# or C++) crash upon launching in admin mode on Windows 10 (I tested Windows 10 17763 and 19041 LTSC, exactly the same result).
Curiously, the crash does NOT happen when running with debugger inside an elevated Visual Studio. And it also does NOT happen when using unpackaged mode.
The crash dump doesn't reveal much information and it does not happen in a debugger, making it's quite hard to figure out the reason.
Steps to reproduce the bug
- Create an empty winui3 packaged app
- Builld and deploy.
- In start menu, right click the app >> Run as administrator
Expected behavior
No response
Screenshots
NuGet package version
Windows App SDK 1.8.5: 1.8.260209005
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update), Windows 10 version 1809 (17763, October 2018 Update)
IDE
No response
Additional context
No response
Describe the bug
I found out all winui3 / wasdk packaged app (no matter C# or C++) crash upon launching in admin mode on Windows 10 (I tested Windows 10 17763 and 19041 LTSC, exactly the same result).
Curiously, the crash does NOT happen when running with debugger inside an elevated Visual Studio. And it also does NOT happen when using unpackaged mode.
The crash dump doesn't reveal much information and it does not happen in a debugger, making it's quite hard to figure out the reason.
Steps to reproduce the bug
Expected behavior
No response
Screenshots
NuGet package version
Windows App SDK 1.8.5: 1.8.260209005
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update), Windows 10 version 1809 (17763, October 2018 Update)
IDE
No response
Additional context
No response