0

I am new to UWP and I have:

  • a game for UWP(Windows 10 only exported from Unity)
  • an executable (.exe) file (configuration generator for game, simple winform builded in VS2013 .Net 4.5)

When I call my exe from game it works perfect. Launching by FullTrustProcessLauncher:(https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.fulltrustprocesslauncher)

But when I upload my game in MS Store. It failed some checking:

"%PATH_TO_EXE%/*.exe has failed the AppContainerCheck check."

I understand what is it but I am so confused because of reading docs about UWP, AppContainerCheck and etc

I installed VS2019 and import my project but I don't understand what I have to do. I have some variants:

I understand that my exe-file must be run in an app container but how to rebuild my exe from VS2013 in VS2019 to pass the AppContainerCheck check?

hi.cosmonaut
  • 120
  • 1
  • 9
  • FullTrustProcessLauncher means you're not running the EXE in the AppContainer at all. Your AppXManifest would need to declare the `runFullTrust` capability in order to successfully do that, in which case the test shouldn't apply. Do you somehow have the EXE named in the manifest as an entry point ? – Peter Torr - MSFT Dec 04 '19 at 00:32
  • @PeterTorr-MSFT do you mean ``? – hi.cosmonaut Dec 04 '19 at 08:01
  • Your "UWP" process would not have Windows.FullTrustProcess,but the exe you're trying to launch. See [MSDN docs](https://learn.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.FullTrustProcessLauncher). – Peter Torr - MSFT Dec 08 '19 at 04:30

0 Answers0