应用认证由于预启动测试而失败 [英] App Certification fails because of PreLaunch Test

查看:106
本文介绍了应用认证由于预启动测试而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在基于Template 10的应用程序上运行应用程序认证时,出现以下错误:

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

发现错误:应用程序启动前验证检测到以下错误:◦应用程序启动前测试失败-49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm.

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.

•如何解决:在应用的OnLaunched方法实现中,请确保您处理LaunchActivatedEventArgs.PreLaunch选项以了解启动前的事件.

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

很明显,即使使用模板10,我也无法覆盖OnLaunched,因为Bootstrap类对其进行了密封.

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

我尝试覆盖OnPreLaunchAsync并设置continueStartup = false;.但这并不能解决问题.

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

有什么想法吗?

推荐答案

结果证明我可以发布到商店,即使它在本地的本地Windows App Cert Kit中失败,它也通过了认证.

Turns out that I was able to publish to the store, and it passed certification even though it failed the local Windows App Cert Kit locally.

这篇关于应用认证由于预启动测试而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆