I want to run another program from my program my code is
var options = new ProcessLauncherOptions();
var standardOutput = new InMemoryRandomAccessStream();
var standardError = new InMemoryRandomAccessStream();
options.StandardOutput = standardOutput;
options.StandardError = standardError;
await ProcessLauncher.RunToCompletionAsync(@"C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\930e206e-dd28-4760-84b2-f3a1f74801feVS.Debug_ARM.Mostafa.Bagheri\Jamsaz.InjectionWeights.exe", "", options);
when i run in vs 2017 get following error
This application can only run in the context of an app container. (Exception from HRESULT: 0x8007109B) Error Image
You may need including the executable application with the AppX package. For detailed steps, you can reference this tutorial:
User contributions licensed under CC BY-SA 3.0