microsoft / microsoft/WinUI-Gallery

Broken repo build

Open
#1,659 18 comments 2 reactions 1 assignee View on GitHub

@karkarl is already working on this.

Since Dec 13, 2024.

bug
Dominant language
C#
Stars
3.6k
Forks
756
Avg merge
17h 51m
Merged PRs (30d)
14

Description

Which version of the app?

WinUI 3 Gallery

Description

I cloned this repo using VS 2022 17.12 Community, opened DesktopWrapper.sln and tried to compile/run the 'Packaged' target as per the readme.md instructions.

The build didn't work. It is broken. It feels dependencies and .csproj files in the solution are at fault.

I get the following errors when trying to build the 'packaged' target:

The feed 'MUX-Dependencies [https://pkgs.dev.azure.com/shine-oss/microsoft-ui-xaml/_packaging/MUX-Dependencies/nuget/v3/index.json]' lists package 'Microsoft.WindowsAppSDK.1.3.230331000' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
The feed 'MUX-Dependencies [https://pkgs.dev.azure.com/shine-oss/microsoft-ui-xaml/_packaging/MUX-Dependencies/nuget/v3/index.json]' lists package 'Microsoft.WindowsAppSDK.1.3.230331000' but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
The runtime pack for Microsoft.Windows.SDK.NET.Ref was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'any'.

I tried restoring nuget with runtime identifier any and trying to update nuget packages - it all failed, I guess the .csproj config is preventing nuget from working properly.

Ultimately I am trying to test MediaPlayerElement examples but I can't see a way to test/compile just those examples without the entire repo.

Could anyone help with resolving the build issues until there is a proper fix?

Screenshots

No response

Windows version

Windows 11 24H2 (26052)

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.