问题描述
我正在将我的应用程序的最新版本上传到 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.重试或上传新的包.
我什至不知道从哪里开始修复这个错误.
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!