❔ .NET MAUI Windows platform FilePicker not working on launching app in admin mode.
I am trying to launch a process from my app in admin mode. Only way I could find to launch the process and get output is to have the app in admin. for this I set the
requestedExecutionLevel
requestedExecutionLevel
as
requireAdministrator
requireAdministrator
in
app.manifest
app.manifest
. But on doing this,
await FilePicker.PickAsync();
await FilePicker.PickAsync();
just closes the app without any error or crash. What could be wrong with this?