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

Partner Center reporting a bug for latest version of BuildTools #4480

Open
DRAirey1 opened this issue Jun 7, 2024 · 36 comments
Open

Partner Center reporting a bug for latest version of BuildTools #4480

DRAirey1 opened this issue Jun 7, 2024 · 36 comments
Labels
area-DeveloperTools Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration

Comments

@DRAirey1
Copy link

DRAirey1 commented Jun 7, 2024

Describe the bug

I have an application that builds, runs and passes all validation tests locally, but when I submit it to the store, I get:

Package acceptance validation error: The package Desktop (Package)_1.35.14.0_x86_Production.msix uses an unsupported version of file makepri.exe (10.0.26100.1). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.
Package acceptance validation error: The package Desktop (Package)_1.35.14.0_x64_Production.msix uses an unsupported version of file makepri.exe (10.0.26100.1). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.
Package acceptance validation error: The package Desktop (Package)_1.35.14.0_ARM64_Production.msix uses an unsupported version of file makepri.exe (10.0.26100.1). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.

Steps to reproduce the bug

  1. Install the latest version of SDK BuildTools in your WinUI project.

  2. Update to the latest version of Visual Studio.

  3. Build your application.

  4. Submit it to the Windows Store.

Expected behavior

I expect the application to pass the validation tests.

Screenshots

image

NuGet package version

None

Packaging type

Packaged (MSIX)

Windows version

No response

IDE

Visual Studio 2022

Additional context

No response

@myokeeh
Copy link

myokeeh commented Jun 13, 2024

Seeing this too

@myokeeh
Copy link

myokeeh commented Jun 13, 2024

To clarify, the app I tried submitted is a UWP app. I think the Partner Center isn't ready for 10.0.26100 yet.

@shyamshr93
Copy link

facing the same issue. any update on this ?

@gagansuie
Copy link

Same issue here as well. Reverting back to this version in the mean time.

<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />

@Armorost
Copy link

uninstall "Microsoft.Windows.SDK.BuildTools" from the app Packages seems to remove the pb to me

@ritesh3103
Copy link

The version 10.0.26100.1 was updated on May 22, 2024 and after a month or more, Microsoft Partner Center is not ready for it. Reverting back to the version 10.0.22621.3233 solved the issue.

@codendone codendone added area-DeveloperTools Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration and removed needs-triage labels Jun 27, 2024
@jbe2277
Copy link

jbe2277 commented Jul 12, 2024

Any updates regarding this issue?

@Rarisma
Copy link

Rarisma commented Jul 12, 2024

I am experiencing this too.

@zhuxb711
Copy link

Same here. Only way to solve this is downgrade the BuildTools.

@MartinZikmund
Copy link

Also just hit this problem, but have no workaround, as some of my dependencies already bumped to latest stable as well

@matthewacme
Copy link

Aug 14th and I'm still seeing this

@IsmailHassani
Copy link

Same here

@Sevael
Copy link

Sevael commented Sep 4, 2024

:( Same here

@SolidRockProgrammer
Copy link

Same here, we can't deploy our latest version UNO app, and we can't down grade.

@MartinZikmund
Copy link

@SolidRockProgrammer if you don't mind using older version of Uno.Extensions, you can use the following in Directory.Build.Props:

<!-- Temporary workaround for https://github.com/microsoft/WindowsAppSDK/issues/4480 -->
<WinAppSdkBuildToolsVersion Condition="$(TargetFramework.Contains('windows10'))">10.0.22621.3233</WinAppSdkBuildToolsVersion>
<UnoExtensionsVersion Condition="$(TargetFramework.Contains('windows10'))">4.2.2</UnoExtensionsVersion>

This is, of course, just a workaround, and the issue itself needs to be resolved

@PIN0L33KZ
Copy link

Is that really STILL a thing??

Got the following error: Package acceptance validation error: The package Packaging Project_2.2.1.0_x86.appx uses an unsupported version of file makepri.exe (10.0.26100.1). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.

@MartinZikmund
Copy link

CC @Sergio0694 @dpaulino - do you have a point of contact for this at Partner Center team that could help please?

@Sergio0694
Copy link
Member

Sergio0694 commented Sep 19, 2024

I'd suggest pinging ankur06 in the microsoft-store channel on Discord (https://aka.ms/microsoftstorediscord).
He's the PM for Partner Center working on the submission pipeline, he might be able to help.
As far as I know though this is just a matter of the pipeline not having been updated yet, so it likely just needs time.
Keep in mind that 26100 isn't even out yet (the SDK is stable, but Windows 26100 isn't available yet in GA).

@under3415
Copy link

myokeeh has pinged ankur06 in microsoft-store Discord channel 👍

@KevinLaMS
Copy link
Collaborator

Hey, @DRAirey1 I am newly joining the team and will take a look at this? Thanks!

@BrianDT
Copy link

BrianDT commented Sep 20, 2024

Microsoft have requested an update to one of my apps and will delist the app at the end of the September if a new version has not been published by then. This issue is a major inconvenience.

@DCorrBECare
Copy link

Is there any news regarding this problem?

@myokeeh
Copy link

myokeeh commented Sep 25, 2024

@KevinLaMS, slightly off topic: I have some devices that are already on 10.0.26100 and I'm noticing a pattern that those devices are not getting automatic updates for UWP apps that I have in the Store with new updates. TargetPlatformVersion is 10.0.22621.0 and TargetPlatformMinVersion is 10.0.19041.0 for those apps. They are LOB apps.

I assumed insider builds would get apps automatically updated since they're always going to be higher than the TargetPlatformVersion. What's preventing automatic updates?

@IsmailHassani
Copy link

Same here
The thing that worked for me is to remove the reference of the build tools. Azure Devops build seems to figure it out itself.

@matthewacme
Copy link

@IsmailHassani

unfortunately we are not using Azure Devops (we are using GitHub tools) so that's not an option for us

@under3415
Copy link

People saying that removing "the reference to the build tools" fixed the problem, do you mean that you were able to use the old SDK to build you app, or that you managed to use the latest SDK?

I removed the SDK and built my UWP using the old SDK, would not call that a fix though.

@IsmailHassani
Copy link

IsmailHassani commented Sep 26, 2024

People saying that removing "the reference to the build tools" fixed the problem, do you mean that you were able to use the old SDK to build you app, or that you managed to use the latest SDK?

I removed the SDK and built my UWP using the old SDK, would not call that a fix though.

This depends totally on which version of the buildtools is installed on de build server.
Azure Devops hosted build server uses an older version hence the error. If you have your own build server, there is probably an older version installed. Either update this one or downgrade the sdk buildtools to the same version.
I'm using Azure Devops and noticed, that i didn't need the strong refrence in my csproj file (WinUI).
Last week finished updates and publication of 5 apps to the Microsoft store.

Frankly i don't know why i would need this reference in my project if the build server already has this sdk. ;)

A thing to consider is of course the fact that some people mention UWP which has a different project structure and afaik only buildable with msbuild. WinUI can be build with dotnet publish.

@under3415
Copy link

under3415 commented Sep 26, 2024

I've tried the new SDK which is now available, version is 10.0.21600.1742

Still the same issue:

Package acceptance validation error: The package uses an unsupported version of file MakePri.exe (10.0.26100.1742). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.
Package acceptance validation error: The package uses an unsupported version of file MakePri.exe (10.0.26100.1742). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.
Package acceptance validation error: The package uses an unsupported version of file MakePri.exe (10.0.26100.1742). The following versions are allowed: < 10.0.10500.0; >= 10.0.10586.0 & < 10.0.11000.0; >= 10.0.14383.0 & < 10.0.14800.0; >= 10.0.15053.0 & < 10.0.15100.0; >= 10.0.16299.0 & < 10.0.16350.0; >= 10.0.17134.0 & < 10.0.17500.0; >= 10.0.17763.0 & < 10.0.18199.0; >= 10.0.18362.0 & < 10.0.18799.0; >= 10.0.19041.0 & < 10.0.19399.0; >= 10.0.20348.0 & < 10.0.21242.0; >= 10.0.22000.194 & < 10.0.22350.0; >= 10.0.22621.0 & < 10.0.25054.0. Please update your Visual Studio build tools and try again.

I bet you that someone just needs to add this to the store validation config >=10.0.26100.1 & < 10.0.27000.0;

@marwalsch
Copy link

marwalsch commented Sep 26, 2024

Has someone already tried contacting Partner Center support about this?
I feel like this might be nothing than a configuration issue on their end like @under3415 suggested.

This being an ongoing issue for almost 4 months with barely any feedback is becoming a bit of a nuisance.

@DRAirey1
Copy link
Author

DRAirey1 commented Sep 27, 2024

I think I finally fixed this. I got rid of all the package references to Microsoft.WindowsAppSDK and Microsoft.Windows.SDK.BuildTools in all my .csproj files. That is, I deleted this line wherever I found it:

<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />

IMPORTANT NOTE: You need to do this to all the packages you consume as well. I had a package of WinUI resources (controls, formatters, etc.), that was still referencing the SDK.BuildTools. It wasn't until I removed the ALL the references in every package that I imported that I was able to successfully upload to the Microsoft Partner Center with the latest version of everything.

@matthewacme
Copy link

@DRAirey1
Hey David,

I'm successfully submitting a WinUI app with

<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19044.0</TargetPlatformMinVersion>

and

<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240802000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />

in all the packages.

Any upgrade from those libraries however and I get the "not supported" error.

I'm using 1.5.240802000 for the WAS and you are 1.5.240428000 for your WAS

I don't know if that is any help to you.

@myokeeh
Copy link

myokeeh commented Oct 1, 2024

@KevinLaMS I made another attempt to submit for version 26100 thinking this would be fixed now that 24H2 is GA. No luck.

@IsmailHassani
Copy link

@KevinLaMS I made another attempt to submit for version 26100 thinking this would be fixed now that 24H2 is GA. No luck.

I'm wondering what the issue could be. Any chance you can share your csproj file and the pipeline yaml file?

@under3415
Copy link

under3415 commented Oct 2, 2024 via email

@myokeeh
Copy link

myokeeh commented Oct 2, 2024

I agree with @under3415. It's on the Partner Center side. What's frustrating is this is not the first time this happened. I don't know why the lesson hasn't been learned. Almost every time there's a new SDK version, they fumble here.

@under3415
Copy link

Someone needs to tell them this is affecting AI and it will get fixed in 10 minutes :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DeveloperTools Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration
Projects
None yet
Development

No branches or pull requests