20、uwp打包失败(All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies'])
2017-06-26 10:42
639 查看
在给 uwp工程打商店包的时候,遇到了一个异常:
Error info: error 80080204: All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies']. The values under this XPath declared in the manifest for the package with file name "QyClient_4.0.0.0_x64.appx" and package full name "0C72C7CD.Beta_4.0.0.0_x64__atj5cpqqdhzyp" at line 11, column 4 don't match those declared in the manifest for the package with file name "QyClient_4.0.0.0_x86.appx" and package full name "0C72C7CD.Beta_4.0.0.0_x86__atj5cpqqdhzyp" at line 11, column 4. QyClient E:\project\QyClient_Puma\QyClient\QyClient\MakeAppx
0x80080204 - The specified package format is not valid: The package manifest is not valid.
在谷歌上搜了一下,看到微软论坛有人也遇到过:
https://social.msdn.microsoft.com/Forums/en-US/c0e018f2-0af3-48b6-b757-1bca908f06a1/uwpproblem-with-package-manifests?forum=wpdevelop https://social.msdn.microsoft.com/Forums/ja-JP/f0192ada-cc54-417a-a984-5135ed3cf10e/uwp-urgent-create-app-packages-bundleartifactsuploadx86txt-not-found?forum=wpdevelop
原来是在 vs项目文件的 “生成” 中,为各个架构选中 “使用 .NET 本机工具链编译”,项目需要在 Release 环境下:
Error info: error 80080204: All app package manifests in a bundle must declare the same values under the XPath *[local-name()='Package']/*[local-name()='Dependencies']. The values under this XPath declared in the manifest for the package with file name "QyClient_4.0.0.0_x64.appx" and package full name "0C72C7CD.Beta_4.0.0.0_x64__atj5cpqqdhzyp" at line 11, column 4 don't match those declared in the manifest for the package with file name "QyClient_4.0.0.0_x86.appx" and package full name "0C72C7CD.Beta_4.0.0.0_x86__atj5cpqqdhzyp" at line 11, column 4. QyClient E:\project\QyClient_Puma\QyClient\QyClient\MakeAppx
0x80080204 - The specified package format is not valid: The package manifest is not valid.
在谷歌上搜了一下,看到微软论坛有人也遇到过:
https://social.msdn.microsoft.com/Forums/en-US/c0e018f2-0af3-48b6-b757-1bca908f06a1/uwpproblem-with-package-manifests?forum=wpdevelop https://social.msdn.microsoft.com/Forums/ja-JP/f0192ada-cc54-417a-a984-5135ed3cf10e/uwp-urgent-create-app-packages-bundleartifactsuploadx86txt-not-found?forum=wpdevelop
原来是在 vs项目文件的 “生成” 中,为各个架构选中 “使用 .NET 本机工具链编译”,项目需要在 Release 环境下:
![](https://images2015.cnblogs.com/blog/348363/201706/348363-20170626104131602-199457772.png)
相关文章推荐
- Android App Not Install. An existing package by the same name with a conflicting signature is alread
- Cannot declare class app\home\controller\Cases because the name is already in use
- kill all the process under the same username
- Your app must be published under a seller name and company name that reflects the XXXXX brand解决办法
- Kettle解析JSON错误,We MUST have the same number of values for all paths,We can not find and data with path [$.
- iOS利用Application Loader打包提交到App Store时遇到错误The filename 未命名.ipa in the package contains an invalid character(s). The valid characters are:A-Z ,a-z,0-9,dash,period,underscore,but the name cannot start w
- java.lang.IllegalArgumentException: AppIndex: The URI host must match the package name and follow th
- The filename 未命名.ipa in the package contains an invalid character(s). The valid characters are: A-Z, a-z, 0-9, dash, period, underscore, but the name cannot start with a dash, period, or underscore
- Fixing the security exception : "class /"" + packageName + "/" does not match trust level of other classes in the same package"
- Synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name
- Loads the local HTML file into the web view in the app
- Nested exception: The entity name must immediately follow the '&' in the entity reference.问题的解决
- Icon specified in the Info.plist not found under the top level app wrapper:XXXX.png
- Did you know... You can use '*' to Expand All and '/' to Collapse All in the Toolbox
- Error:You must write an attribute 'type'='object' after writing the attribute with local name '__type'
- This theme is released under creative commons licence, all links in the footer should remain intact解决方法
- SharePoint 报错: The specified file or folder name is too long. The URL path for all files and folders must be 260 characters or less
- Licenses.licx gets modified whenever a form is modified in design mode and must be checked in if the project is under Source Control
- Developers’ Must-have: the new Microsoft All-In-One Code Framework Sample Browser and 3500+ samples
- 解决Logon unsuccessful: The user name you typed is the same as the user name you logged in with. That user name has alread