Error with Windows App Certification Kit

六月ゝ 毕业季﹏ 提交于 2019-12-24 19:33:49

问题


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

"Task failed to enable HighVersionLie"

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.

I have reinstalled VS 2017 Community and updated windows.


回答1:


According to "Don’t Fail the HighVersionLie":

... 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.

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.

Here is a description of the Windows App Certification Kit tests



来源:https://stackoverflow.com/questions/46978772/error-with-windows-app-certification-kit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!