Hello,
I am developing a UWP application with Visual Studio 2017. When I run this application in Debug - x86 mode, it runs correctly from VS, and also from the start menu. On the other hand, when I run it in Release - x86 mode, sometimes it runs, sometimes Visual Studio tells me that it is in Stop mode, sometimes the SplashScreen appears, then everything freeze. And from the start menu, SplachScreen appears, stays on for a few seconds, then closes.
When debugging in Release - x86 mode completes correctly, I can generate a package (which I have been able to upload to the store), but the certification kit crashes when launching the platform version. I am forced to do an End of Task on the process to stop it.
Thank you for helping me, because I do not see where the problem is, and I cannot publish my application on the Store.
Remark ;
I checked the event / application log after running in release mode, and there is no error corresponding to my application. When the compilation is finished, the SplashSceen appears, and then the application is running correctly.
However, when running the application from the Start menu, I get an error message:
The program MesProjets.exe version 1.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance Control Panel.
Process ID: 3160
Start time: 01d59bdb85c2e1ab
Stop time: 4294967295
Application path: F: \ Users \ xxxxxxxx \ Documents \ Visual Studio 2017 \ Projects \ MyProjects \ MyProjects \ bin \ x86 \ Release \ AppX \ MyProjects.exe
Report ID: 343bcd14-47f6-4070-8426-77c5e0eea241
Failed Package Full Name: 503ApriSoft.MesProjets_4.0.0.0_x86__p639jsfcetr2j
Application ID for a faulty package: App
Blocking type: Cross-thread
Name of the event log : Application
Source : Application Hang
Date : 15/11/2019 18:39:47
Event ID : 1002
Category of the task : (101)
Level : Error
Keywords: Classic
User : N/A
Computer : PC-WIN10
Note : there is nothing about the application in the Security and Maintenance Control Panel.