System.IO.FileLoadException 0x80131040 C# UWP happens when my .exe is launched using await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync("Parameters")
This is weird because it works normal (NOT UWP), the FullTrustLauncher with DesktopBridge supposedly makes regular .exe's run in UWP but it appears not!
System.IO.FileLoadException 0x80131040 C# UWP happens when my .exe is launched using await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync("Parameters")
FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync("Parameters")
Keep in mind, that UWP apps need certain permission to open files, and can still not open every location. Doing it will lead to a System.IO Exception, which could be your problem, if you load a config file or so at the beginning. More info here
User contributions licensed under CC BY-SA 3.0