我们刚刚在 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.
我们需要将此包本身保留在清单中,但不要完成它。