Windows 应用认证工具包错误 [英] Error with Windows App Certification Kit

查看:41
本文介绍了Windows 应用认证工具包错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行 Windows 应用认证工具包时不断收到以下错误.

I keep getting the following error when I run the Windows App Certification Kit.

任务无法启用 HighVersionLie"

"Task failed to enable HighVersionLie"

我正在使用 VS 2017 社区,它发生在多台机器上.我唯一添加的是带有几个页面的 Template Studio 模板.

I am using VS 2017 Community and it happens on multiple machines. The only thing I add is the Template Studio templates with a couple pages.

我已经重新安装了 VS 2017 社区并更新了窗口.

I have reinstalled VS 2017 Community and updated windows.

推荐答案

根据 "不要让 HighVersionLie 失败":

... 有一个名为 HighVersionLie 的认证测试可以测试对于这种情况.该测试将 Windows 版本设置为人为的高数字,以查看测试的软件是否仍然安装并运行.

... there is a certification test called the HighVersionLie that tests for just this case. The test sets the Windows version to an artificially high number to see if the tested software still installs and runs.

我的猜测是您的 Template Studio 版本中的某些内容会导致您的应用当测试告诉(或欺骗")你的应用程序时崩溃,告诉它它在更高的、尚未发布的 Windows 版本上.您可以尝试在代码中搜索DeviceFamilyVersion"以查看是否存在不允许更高版本 Windows 的if 语句".您还可以检查以确保您使用的是最新版本的 Template Studio 模板.Windows Template Studio 1.6 版刚刚发布.

My guess would be that there is something in your version of Template Studio that causes your app to crash when the test tells (or "lies to") your app, telling it that it is on a higher, as yet unreleased version of Windows. You might try searching your code for "DeviceFamilyVersion" to see if there is an "if statement" that doesn't allow for higher versions of Windows. You might also check to make sure you are using the latest version of Template Studio templates. Version 1.6 of the Windows Template Studio was just released.

您也可以尝试 将您的目标版本更改为更高的值,看看是否可以消除错误.

You might also try Changing your target versions to higher values to see if that gets rid of the error.

这里是 Windows 应用认证工具包测试

这篇关于Windows 应用认证工具包错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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