Run as administrator crashes WinUI Desktop App
See original GitHub issueFaulting application name: TYTYTY.exe, version: 1.0.0.0, time stamp: 0x5eda9993 Faulting module name: KERNELBASE.dll, version: 10.0.19041.423, time stamp: 0xed02c0bc Exception code: 0xc000027b Fault offset: 0x000000000010b3cc Faulting process id: 0x6e34 Faulting application start time: 0x01d66a95fb1d5bdc Faulting application path: F:\Work\net5\FWMonitor\TYTYTY\TYTYTY (Package)\bin\x64\Debug\AppX\TYTYTY\TYTYTY.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: ce67f678-5617-444b-8207-72b6901c29e3 Faulting package full name: 48e80bab-2df9-4a42-9e48-3f67efd23e12_1.0.0.0_x64__q29dnkf5r4tp2 Faulting package-relative application ID: App
Crashes even blank WinUI Desktop app after UAP. Crashes with
<rescap:Capability Name="runFullTrust" />
<rescap:Capability Name="allowElevation" />
in Package.appxmanifest
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
in app.manifest get the same result
With desktop netcoreapp3.1 in Package i dont have such problem.
NuGet package version: [Microsoft.WinUI 3.0.0-preview2.200713.0]
Windows 10 version | Saw the problem? |
---|---|
Insider Build (xxxxx) | |
May 2020 Update (19041) | Yes |
November 2019 Update (18363) | |
May 2019 Update (18362) | |
October 2018 Update (17763) | |
April 2018 Update (17134) | |
Fall Creators Update (16299) | |
Creators Update (15063) |
Device form factor | Saw the problem? |
---|---|
Desktop | Yes |
Xbox | |
Surface Hub | |
IoT |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13 (2 by maintainers)
Top GitHub Comments
I’m running into a similar issue in the Reunion 0.5 release. When pressing Debug in Visual Studio I get the UAC dialog, but after allowing that nothing happens (the debugger still seems to be attached though). But if I press “Break All” button it says “No processes are currently being debugged”, so it’s most likely crashed.
is there any way to make overlay on top of always including start menu windows in winui3 preview deskotop apart from uiAcess=true in appmanifest bcoz elivation wont support in winui3 ?