Search code examples
uwpwindows-10-universalwindows-store

Error when uploading UWP app to Windows Store: Failed to merge PRI file \Resources_split.scale-100.pri


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

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:\data\Temp\69b5c2ab-3419-4197-839c-2ef13d218413\Resources_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?

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

enter image description here

So far I have tried:

  • Running WsReset
  • Running sfc /scannow
  • Increasing Version number of app

none of the above have worked

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


Solution

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

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

    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?