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

后端 未结 3 826
半阙折子戏
半阙折子戏 2021-01-20 00:30

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

3条回答
  •  不知归路
    2021-01-20 00:50

    I also had issues with similar error and disabling ARM and tweaking .csproj options did not help.

    What did the trick for us unbundling, bundling and resigning the package. This was input from Microsoft support team after months of "communication".

    Basically we unzipped .appxupload file and performed following commands on .appxbundle file.

    makeappx.exe unbundle /v /p <>.appxbundle /d "temp"
    makeappx.exe bundle /v /p <>_rebundled.appxbundle /d "temp"
    "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64\signtool.exe" sign /fd SHA256 /a /f "<>" <>_rebundled.appxbundle
    

    After this I zipped sym files and newly bundled .appxbundle to .appxupload file

提交回复
热议问题