My Own Developed UWP App Crashes on Launch while Microsoft Store Tested for Me but Works Fine Locally

BEAS Soon 5 Reputation points
2024-04-02T15:09:37.13+00:00

Hello,

I’m experiencing an issue with my developed UWP application. The application works perfectly on my local machines, but it crashes on launch during Microsoft Store’s certification testing.

Here are the details:

  • Local Environment: The first machine is running Windows version 23H2, OS build 22631.3296 (deployed in debug mode). Another machine (doesn’t have a VS development) runs Windows version 23H2, with a similar build (deployed in AppPackages and run the Add-AppDevpackage powershell script to install it). The application runs without any issues here.
  • Other Information on First Machine: Windows SDK version 10.0.22621.3233, Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.9.5
  • Targeted Version: The targeted version of my UWP software is Windows version 22H2, BUILD 22621.
  • Issue: According to the certification report from Microsoft Store, the product crashes at launch on devices running Windows build Version 23H2 (OS Build 22631.3085). The issue was observed on a Dell Inspiron 14 5406 and a Microsoft Surface Laptop. The product displays the splash screen and then terminates unexpectedly at launch.

What I’ve Tried: I’ve tried debugging and testing on my local machine, but I’m unable to reproduce the issue. Also, it seems like the [http://aka.ms/storesupport] is requiring money to assist a support which I currently not able to do it. That is why I’m looking for guidance on how to troubleshoot this problem here. Any help would be greatly appreciated.

The following text is the report from Microsoft store:
The product crashes at launch. The issue was observed on multiple devices running Windows build Version 23H2 (OS Build 22631.3085) Observed On: Windows 11 Tested On: Dell Inspiron 14 5406 Product displays splash screen and terminates unexpectedly at launch. Tip: A Windows product may run flawlessly during development and testing, but after submitting it for certification testing, the product may crash or perform unexpectedly. Along these same lines, your product 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: Microsoft Surface Laptop

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. BEAS Soon 5 Reputation points
    2024-04-13T14:11:38.6633333+00:00

    @Junjie Zhu - MSFT

    I apologize for the delayed response. I've been able to address the issue and wanted to update on the situation. The application has now passed the Microsoft Store certification test. Initially, the warning regarding the "200" image ratio for the MSIX package logo did not affect the certification outcome. However, after several attempts and considering the runFullTrust capability concerns, I decided to utilize the Windows application packaging project to bundle my project. This approach resolved the issues, and the application was successfully certified (my app was able to be tested without any issues, such as crashing for unknown reasons). Based on this experience, I would recommend to anyone publishing their app through the Microsoft Store with an MSIX package (.msixupload) to consider using the Windows application packaging project for a smoother certification process. Hope this reply can be helpful to people who encounter similar problems.

    1 person found this answer helpful.