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

WinUIGallery Submodule Update in WinUI3: Fixes #1802

Merged
merged 7 commits into from
Mar 12, 2025

Conversation

kythant
Copy link
Contributor

@kythant kythant commented Mar 11, 2025

Description

Various fixes to be able to update the WinUIGallery's Submodule in WinUI3.

  • arm64ec pubxml should point to x64 runtime
  • Remove UITest from buidling arm64ec

Motivation and Context

We should update WinUI3 to use the main branch of WinUIGallery. Currently it is on a stale topic branch.

How Has This Been Tested?

Ran in the PR pipelines with the submodule updated

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@kythant kythant changed the title User/kythant/win UI gallery update WinUIGallery Submodule Update in WinUI3: Fixes Mar 11, 2025
@kythant
Copy link
Contributor Author

kythant commented Mar 11, 2025

/azp run

@kythant
Copy link
Contributor Author

kythant commented Mar 11, 2025

/azp run

@kythant kythant requested a review from karkarl March 11, 2025 22:24
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Platform>x64</Platform>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should ARM64-ec point to x64 and not ARM?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arm64ec and x64 are interchangeable. Arm64ec is basically x64 under the hood but with arm64

We were also running into this error that setting the pubxml to point to x64 runtime identifier solves.
C:\ProgramFiles\dotnet\sdk\9.0.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(107,5): error NETSDK1083: The specified RuntimeIdentifier 'win-arm64ec' is not recognized. See https://aka.ms/netsdk1083 for more information. [C:__w\1\s\Samples\WinUIGallery\WinUIGallery.UnitTests\WinUIGallery.UnitTests.csproj]

@kythant kythant merged commit 8384733 into main Mar 12, 2025
2 checks passed
@kythant kythant deleted the user/kythant/WinUIGalleryUpdate branch March 12, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants