Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sudharsan-narayanan opened this issue Oct 30, 2024 · 8 comments

Comments

@sudharsan-narayanan
Copy link

sudharsan-narayanan commented Oct 30, 2024

Describe the bug

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 (Package)_27.1.47.0_x86_x64.msixbundle: Failed to merge PRI file D:\SvcFab_App\PacWorkerServiceFabricType_App1\temp\5d7e5a9e-addb-49f3-8d95-81436b21f869\Resources_split.scale-100.pri: 80070490. Try again or upload a new package.

Image

By upgrading the windows SDK(1.6.240923002) in MyApp.

Note: If I use the Windows SDK(1.5.241001000) in MyApp, and upload the package in Store. Not throws an exception.

Steps to reproduce the bug

  1. Upgrade the windows SDK(1.6.240923002) in your application.
  2. Create a package and try to upload the package in Windows store.

Note: While uploading the package, you can see the error message.

Expected behavior

The package needs to upload properly in latest version

Screenshots

No response

NuGet package version

Windows App SDK 1.6.1: 1.6.240923002

Packaging type

Packaged (MSIX)

Windows version

No response

IDE

Visual Studio 2022

Additional context

No response

@RDMacLachlan
Copy link
Member

Are you adding WinAppSDK to a UWP app? Or is the UWP part of the title incorrect?

@sudharsan-narayanan sudharsan-narayanan changed the title Error when uploading UWP app to Windows Store: Failed to merge PRI file \Resources_split.scale-100.pri Error when uploading WinUI app to Windows Store: Failed to merge PRI file \Resources_split.scale-100.pri Nov 4, 2024
@sudharsan-narayanan
Copy link
Author

Are you adding WinAppSDK to a UWP app? Or is the UWP part of the title incorrect?

Sorry, I have mentioned the wrong one in title. I am using the latest WinAppSDK package in my WinUI application and uploading the package in Windows Store. But it throws the error as mentioned above.

@RDMacLachlan
Copy link
Member

Thank you for the update on the app type, and title. Are you able to also provide us with:

  • a repro for this error.

@CarteKiwi
Copy link

Exact same error !
Just updated .NET SDK to 8.0.10, Visual Studio and packages in my WinUI app: WinAppSDK from 1.5.240404000 to latest (1.6.240923002)

I wasn't sure it came from WinAppSDK or VS or .NET or another updated package (as SDK.BuildTools), but you seems to confirm that it come from WinAppSDK. After downgrading to 1.5.24 again (only downgrading WinAppSDK), the Store display another error:

"Package acceptance validation error: The package InstantSub.Packager_2024.1107.2221.0_x86.msix uses an unsupported version of file makepri.exe (10.0.26100.1742)."

Could .NET 8.0.10 update be the problem here ?
My app is targeting OS version 10.0.22621 (not 10.0.26100).

Thanks.

@CarteKiwi
Copy link

CarteKiwi commented Nov 7, 2024

Ok, I got it.

Problem was the "Microsoft.Windows.SDK.BuildTools" nuget package version 10.0.26100.1742.
Downgrading to 10.0.22621.3233 has fixed validation problem on the Microsoft Store.

@studionexus-lk
Copy link

Package acceptance validation error: We encountered a fatal error while parsing the package TTSStudio(PAK)_70.1.5.0_x86_x64.msixbundle: Failed to merge PRI file D:\SvcFab_App\PacWorkerServiceFabricType_App0\temp\47612888-ae61-4f13-ac3f-8a211f9b9679\Resources_split.scale-100.pri: 80070490. Try again or upload a new package.
DeleteRetry

oh shit

@studionexus-lk
Copy link

Image

why this? its annoying

@Scottj1s
Copy link
Member

See also: #4480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants