【问题标题】:Windows Store Certification Metadata test failesWindows 应用商店证书元数据测试失败
【发布时间】:2015-02-21 20:54:14
【问题描述】:

当我在调试模式下运行我的程序时,它运行良好。现在我想将它上传到 Windows Phone 商店,它会创建应用程序包,但是在运行 Windows 应用程序认证工具包时,它会返回以下错误:

一般元数据正确性测试 - 失败

原因:

In the Winmd-File "myBackgroundPart.winmd" (that's my RunTime Component) there is missing "WindowsRuntime 1.3" or "WindowsRuntime 1.2" in the versionstring. The versionstring of the file is "WindowsRuntime 1.4;CLR v4.0.30319".

我的环境是 Visual Studio 2015 CTP5。错误消息表明,我的 WinRT 对于商店来说太新了!?那我该如何降级呢?

编辑

这是VS2015 CTP5的问题,昨天新发布的CTP6解决了。

【问题讨论】:

    标签: windows-runtime windows-phone-8.1 visual-studio-2015 app-certification-kit


    【解决方案1】:

    您需要使用 Visual Studio 2013 构建您的应用程序(更新 4 是最新的)。请注意 Visual Studio 2015 does not have a "go live" license,这意味着无论如何您都不能将其用于生产目的。你需要等到它发布。

    另外,当您构建组件时,您选择了哪种项目类型?如果您为 Windows 8.x 构建了一个项目,那么我认为它不应该使用 1.4 版元数据。您是否偶然在 Windows 10 Preview 上构建/测试过?

    【讨论】:

    • 不,这并没有帮助 - 这似乎确实是 VS2015 CTP5 的问题(错误)。今天我安装了VS2015 CTP6,现在问题消失了。
    • 好吧,我认为他们昨天刚刚发布了 :-)。即便如此,如果它没有“上线”许可证,则不应将其用于生产。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-05-08
    • 2015-07-08
    • 1970-01-01
    • 1970-01-01
    • 2014-07-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多