Skip to content

fix(build): Pack Uno.WinUI.Graphics3DWebGpu in CI - #25662

Merged
agneszitte merged 2 commits into
unoplatform:masterfrom
ramezgerges:dev/rara/pack-graphics3dwebgpu
Oct 23, 2026
Merged

agneszitte merged 2 commits into
unoplatform:masterfrom
ramezgerges:dev/rara/pack-graphics3dwebgpu

Conversation

@ramezgerges

Copy link
Copy Markdown
Contributor

GitHub Issue: closes #25654

PR Type:

🏗️ Build or CI related changes

What changed? 🚀

Uno.WinUI.Graphics3DWebGpu packs itself in Release (GeneratePackageOnBuild), but no CI pack step ever built it: it was only listed in Uno.UI-Skia-only.slnf. So the package the Uno.Sdk adds for the WebGpuCanvas feature was never published, and uno.winui.graphics3dwebgpu returns 404 on nuget.org.

  • build/filters/Uno.UI-packages-all.slnf: adds the project to the filter the BuildCIPackages step builds. That's where Uno.WinUI.SpellChecking, which is set up the same way (Skia target frameworks, self-packing), already gets packed and published from.
  • Uno.WinUI.Graphics3DWebGpu.csproj: drops PrivateAssets="all" from the Uno.UI reference. It was copied from Graphics3DGL, where it dates from the time that add-in compiled against Uno.UI.Reference.csproj. With it, the package declared no Uno.WinUI dependency although it compiles against it. It now declares Uno.WinUI at its own version, as SpellChecking's published package does. Graphics3DGL has the same leftover but is left unchanged here, since it is already published.

Validation

Locally, building the project with the pack step's settings (Release, PackageVersion, PackageOutputPath) produces Uno.WinUI.Graphics3DWebGpu.<version>.nupkg, depending on Uno.WinUI (same version) and Silk.NET.WebGPU. The filter parses, and all 62 listed projects exist in Uno.UI.slnx. The project targets net10.0;net11.0, like SpellChecking.

Still to confirm on this PR's build: the nuget-packages artifact contains Uno.WinUI.Graphics3DWebGpu.

Release follow-up

This is a new package ID on nuget.org. As noted in #25654, the first upload has to be done by hand, and the ID allowed for CI publishing, before CI can push it.

PR Checklist ✅

🤖 Generated with Claude Code

ramezgerges and others added 2 commits October 23, 2026 10:46
The add-in packs itself in Release but no CI pack step built it, so the
package the Uno.Sdk references for the WebGpuCanvas feature was never
published.

Fixes unoplatform#25654

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The Uno.UI reference was private, so the package declared no Uno.WinUI
dependency although it compiles against it. SpellChecking already takes
the dependency the same way.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@github-actions github-actions Bot added the area/build Categorizes an issue or PR as relevant to build infrastructure label Oct 23, 2026

@agneszitte agneszitte left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me. The filter entry and the dependency change match how Uno.WinUI.SpellChecking is set up, and its published nuspec declares Uno.WinUI at the same version, as this one now will.

@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@agneszitte
agneszitte merged commit a25452a into unoplatform:master Oct 23, 2026
48 of 52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Categorizes an issue or PR as relevant to build infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uno.WinUI.Graphics3DWebGpu is never published, but the Uno.Sdk references it

3 participants