4

我们刚刚在 windows 8 商店(metro 风格的应用程序)中提交了应用程序并得到了错误:

XXX takes a dependency on Microsoft Visual C++ Runtime Package framework but is missing the framework dependency declaration in the manifest.

我们的应用程序在发布版本中运行良好,但它没有作为包被接受,因此我们需要将我们的应用程序迁移为 Windows RTM。在此期间,我们在清单中有以下条目:

    <Dependencies>
        <PackageDependency Name="Microsoft.VCLibs.110"       MinVersion="11.0.0.0" />
    </Dependencies>

如果我们保留它,我们会在构建应用程序时收到以下错误。

Error : DEP0700 : Registration of the app failed. Windows cannot install package 5d6f272d-c915-4de1-a9d6-c0c08d63ab94 because 
this package depends on another package that could not be found. This package requires minimum version 11.0.50727.1 of framework Microsoft.VCLibs.110 
published by any publisher to install. Provide the framework along with this package. (0x80073cf3) Test_App1

所以我们删除它并提交应用程序,它只是失败并给出了以下错误。

XXXX takes a dependency on Microsoft Visual C++ Runtime Package framework but is missing the framework dependency declaration in the manifest.

我们需要将此包本身保留在清单中,但不要完成它。

4

3 回答 3

4

我有类似的问题。在您的项目中添加一个引用到Microsoft Visual C++ Runtime Package

只需单击项目我选择添加引用并找到这个包。添加这个应该可以解决您的问题

于 2012-10-24T10:01:18.510 回答
1

问题已通过更新解决

"Microsoft.VCLibs.110" 到 Name="Microsoft.VCLibs.110.00"

于 2012-11-22T11:13:13.257 回答
0

只是我已经从控制面板>程序修复了适用于 Windows 8 的 VS 2012,并且设计器工作正常。

于 2015-05-29T22:09:27.820 回答