将 UWP 应用上传到 Windows 应用商店时出错:无法合并 PRI 文件 Resources_split.scale-100.pri [英] Error when uploading UWP app to Windows Store: Failed to merge PRI file Resources_split.scale-100.pri

查看:29
本文介绍了将 UWP 应用上传到 Windows 应用商店时出错:无法合并 PRI 文件 Resources_split.scale-100.pri的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的应用程序的最新版本上传到 Windows 商店,但我的应用程序抛出错误:

I am uploading a latest version of my app to the Windows store but my app is throwing the error:

包接受验证错误:我们遇到了致命错误在解析包时MyApp.UWP_2.33.0.0_x86_x64_ARM_AppStore.appxbundle:失败合并PRI文件D:dataTemp69b5c2ab-3419-4197-839c-2ef13d218413Resources_split.scale-100.pri:80070490.重试或上传新的​​包.

Package acceptance validation error: We encountered a fatal error while parsing the package MyApp.UWP_2.33.0.0_x86_x64_ARM_AppStore.appxbundle: Failed to merge PRI file D:dataTemp69b5c2ab-3419-4197-839c-2ef13d218413Resources_split.scale-100.pri: 80070490. Try again or upload a new package.

我什至不知道从哪里开始修复这个错误.

I do not understand where to even begin to look to fix this error.

有没有其他人看到过这个错误或有任何倾向它可能是什么?

has anyone else seen this error or have any inclin to what it may be?

这在Windows App Certification Kit上运行时也抛出了类似的错误,附上截图如下:

This is also throwing a similar error when running on The Windows App Certification Kit Attached is the screenshot below:

到目前为止我已经尝试过:

So far I have tried:

  • 运行 WsReset
  • 运行 sfc/scannow
  • 增加应用的版本号

以上都没有效果

可能是这个msbuild错误:https://developercommunity.visualstudio.com/content/problem/107928/get-merge-failure-for-shared-merged-pri-file-0x800.html?>

Could it be this msbuild error: https://developercommunity.visualstudio.com/content/problem/107928/get-merge-failure-for-shared-merged-pri-file-0x800.html?

推荐答案

我发现的一种解决方法是摆脱 ARM 配置.

One workaround I have found is to get rid of the ARM configuration.

所以您只使用 x86|x64 而不是 x86|x64|ARM 进行构建,显然这在您需要为 ARM 构建时没有帮助代码>

So you build with just x86|x64 instead of x86|x64|ARM obviously this doesn't help if you need to build for ARM

但我认为这是 MsBuild 最近更新中的一个错误,您可以在此处看到其他人报告的错误:https://developercommunity.visualstudio.com/content/problem/107928/get-merge-failure-for-shared-merged-pri-file-0x800.html?

But I think this is a bug in a recent update to MsBuild which you can see reported by other people here: https://developercommunity.visualstudio.com/content/problem/107928/get-merge-failure-for-shared-merged-pri-file-0x800.html?

这篇关于将 UWP 应用上传到 Windows 应用商店时出错:无法合并 PRI 文件 Resources_split.scale-100.pri的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆