简体   繁体   中英

UWP using Windows Desktop Extension Crashes at Launch when Submitting to Store

I am having troubles getting my app accepted by the Microsoft Store. My app has the following properties:

  1. Minimum Windows 10 version: 10.0.17763
  2. Maximum Windows 10 version: 10.0.17763
  3. References Windows Desktop Extensions for UWP version: 10.0.17763
  4. Uses capability: runFullTrust (for good measure, I always check if the required API is present whenever I call the FullTrustProcessLauncher)
  5. Desktop component uses.Net Framework 4.6.1
  6. Supports Multi-Instance

I have already tried debugging my app in my local machine using Debug and Release configurations with no problems. I have also tried sideloading it to other PCs with no problems either. What might be the cause of the crash when I try submitting it to the store?

If you need more info, would gladly give them if necessary.

Additional Info (Store Certification Error)

App Policies: 10.4.2 Usability - App Crashes or Freezes

Notes To Developer

Unfortunately, we can't test the app, because the app crashes at launch.

Tip: A Windows app may run flawlessly during development and testing, but after submitting it for certification testing, the app may crash or perform unexpectedly. Along these same lines, your app may not perform as expected after publication. You can contact Developer Support at http://aka.ms/storesupport if you need assistance with troubleshooting.

Tested Devices: Acer Iconia W700, Acer Switch 3, (Win 10 S) Microsoft Surface Laptop, High Performance Desktop

The workaround is to package the App using Visual Studio 2019. It seems that WinUI is having troubles when paired with the Packaging project. I just hoped that this was documented as I spent months trying to solve this problem. Thank you to everyone who helped me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM