Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Certification fails because of PreLaunch Test

When I run the App Certification on my Template 10 based app, I get the following error:

Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm.

•Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled.

•How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware.

Obviously I can't override the OnLaunched even with Template 10 because the Bootstrap class seals it.

I tried overriding the OnPreLaunchAsync and setting continueStartup = false; but it did not fix the problem.

Any ideas?

like image 270
Eric Grover Avatar asked Feb 23 '16 04:02

Eric Grover


1 Answers

This seems to be a known issue with Windows App Cert Kit: https://developer.microsoft.com/en-us/windows/develop/app-certification-kit

"The App Prelaunch Validation test will fail ig you run on a version of Windows-10 released before version 1607(Windows Anniversary Edition). Note that this test is not run as part of the final certification for Windows Store submissions"

Resolution: To ensure the results to this test pass, test with Windows-10 SDK Version (14393) running on Windows-10 Anniversary Edition.

like image 193
Ganesh kudva Avatar answered Oct 17 '22 02:10

Ganesh kudva