17、uwp 打包失败记录

 

  今天在打包时,总是打包失败, visual studio 报错误:

严重性 说明 代码 项目 文件 行 禁止显示状态
错误 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 "QiYiVideo_3.8.1.0_x64.appx" and package full name "0C72C7CD.Beta_3.8.1.0_x64__atj5cpqqdhzyp" at line 11, column 4 don't match those declared in the manifest for the package with file name "QiYiVideo_3.8.1.0_x86.appx" and package full name "0C72C7CD.Beta_3.8.1.0_x86__atj5cpqqdhzyp" at line 11, column 4.  QiYiVideo C:\D\svn\Windows\iQiyiVideo_uwp_v3.8\QiYiVideo_Universal_Windows\QiYiVideo\MakeAppx  


严重性 说明 代码 项目 文件 行 禁止显示状态
错误 Bundle creation failed.  QiYiVideo C:\D\svn\Windows\iQiyiVideo_uwp_v3.8\QiYiVideo_Universal_Windows\QiYiVideo\MakeAppx  


严重性 说明 代码 项目 文件 行 禁止显示状态
错误 0x80080204 - The specified package format is not valid: The package manifest is not valid.  QiYiVideo C:\D\svn\Windows\iQiyiVideo_uwp_v3.8\QiYiVideo_Universal_Windows\QiYiVideo\MakeAppx  

 

开始以为是开发者证书出了问题,最后是因为在 x86 和 x64下的工程属性配置不同导致的:

 

posted @ 2017-02-16 15:57  博琼  阅读(955)  评论(0编辑  收藏  举报