Skip to content

Remove obsolete Graphics projects - #39530

Merged
kubaflo merged 2 commits into
net11.0from
rmarinho-graphics-project-cleanup
Oct 22, 2026
Merged

kubaflo merged 2 commits into
net11.0from
rmarinho-graphics-project-cleanup

Conversation

@rmarinho

Copy link
Copy Markdown
Member

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Retire the five Graphics sample/backend projects disabled during the .NET 9 branch update in #19236:

  • GraphicsTester.Mac
  • GraphicsTester.Skia.Mac
  • GraphicsTester.Skia.Tizen
  • GraphicsTester.Skia.Gtk
  • Graphics.Skia.GtkSharp

Remove their source, platform resources and GTK API baseline files, along with all corresponding project declarations, configuration and nesting GUIDs from the four affected solutions and entries in the Graphics solution filter. Remove the now-unused SkiaSharp.Views.Gtk3 and SkiaSharp.NativeAssets.Linux package version updates.

Keep the remaining Graphics projects and platform implementations, including the WPF backend, MacCatalyst samples and Resizetizer's SkiaSharp.NativeAssets.Linux.NoDependencies dependency.

Validation: All 400 Graphics unit tests passed with native platform targets disabled. All 217 project entries across seven solution filters and all 38 project references in the 15 remaining Graphics projects resolve. No retired project names, GTK renderer types or project GUIDs remain.

Issues Fixed

Fixes #19428

Retire the Graphics projects disabled during the .NET 9 branch update, including their source, assets, solution entries and GTK-only dependencies.

Fixes #19428

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bacf8114-19a2-47ac-96ad-f0c64214a353
Copilot AI balanced review requested due to automatic review settings October 21, 2026 17:46
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:47 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39530

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39530"

@azure-pipelines

This comment has been minimized.

@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:47 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:48 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:49 — with GitHub Actions Inactive
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:51 — with GitHub Actions Inactive
@github-actions github-actions Bot added area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing platform/macos macOS / Mac Catalyst labels Oct 21, 2026
@rmarinho
rmarinho temporarily deployed to copilot-pat-pool October 21, 2026 17:51 — with GitHub Actions Inactive
@kubaflo

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Available review evidence leaves cross-platform build and Helix test validation incomplete.

No open issues 🎉

5 files not reviewed
  • src/Graphics/samples/GraphicsTester.Mac/AppDelegate.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Mac/MainWindow.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindow.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindowController.designer.cs: Generated file
What changed in this PR

Retires five disabled Graphics projects, completing the cleanup discussed in #19428 while preserving the remaining Graphics implementations.

Changes:

  • Deletes obsolete Mac, GTK, and Tizen samples and the GTK backend.
  • Removes corresponding solution entries, resources, and API baselines.
  • Removes unused GTK/Linux package version updates while retaining Resizetizer’s dependency.
File Description
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​PublicAPI/​netstandard/​PublicAPI.Unshipped.txt Removes unused API baseline.
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​PublicAPI/​netstandard/​PublicAPI.Shipped.txt Removes GTK API baseline.
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​ISkiaGraphicsRenderer.cs Removes GTK renderer interface.
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​GtkSkiaGraphicsView.cs Removes GTK graphics view.
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​GtkSkiaDirectRenderer.cs Removes GTK renderer.
src/​Graphics/​src/​Graphics.Skia.GtkSharp/​Graphics.Skia.GtkSharp.csproj Removes GTK backend project.
src/​Graphics/​samples/​GraphicsTester.Skia.Tizen/​tizen-manifest.xml Removes Tizen manifest.
src/​Graphics/​samples/​GraphicsTester.Skia.Tizen/​SimpleViewStack.cs Removes Tizen navigation helper.
src/​Graphics/​samples/​GraphicsTester.Skia.Tizen/​Main.cs Removes Tizen sample application.
src/​Graphics/​samples/​GraphicsTester.Skia.Tizen/​GraphicsTester.Skia.Tizen.csproj Removes Tizen sample project.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​TesterView.cs Removes Mac Skia tester view.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​TesterTableViewSource.cs Removes scenario table source.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​Resources/​Images.xcassets/​AppIcons.appiconset/​Contents.json Removes icon metadata.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainWindowController.designer.cs Removes controller registration.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainWindowController.cs Removes window controller.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainWindow.xib Removes window resource.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainWindow.designer.cs Removes window registration.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainWindow.cs Removes window implementation.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​MainMenu.xib Removes menu resource.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​Main.cs Removes application entry point.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​Info.plist Removes application metadata.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​GraphicsTester.Skia.Mac.csproj Removes Mac Skia sample project.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​AppDelegate.designer.cs Removes delegate registration.
src/​Graphics/​samples/​GraphicsTester.Skia.Mac/​AppDelegate.cs Removes application delegate.
src/​Graphics/​samples/​GraphicsTester.Skia.Gtk/​Properties/​AssemblyInfo.cs Removes GTK assembly metadata.
src/​Graphics/​samples/​GraphicsTester.Skia.Gtk/​Program.cs Removes GTK application entry point.
src/​Graphics/​samples/​GraphicsTester.Skia.Gtk/​MainWindow.cs Removes GTK sample window.
src/​Graphics/​samples/​GraphicsTester.Skia.Gtk/​GraphicsTester.Skia.Gtk.csproj Removes GTK sample project.
src/​Graphics/​samples/​GraphicsTester.Mac/​TesterView.cs Removes native Mac tester view.
src/​Graphics/​samples/​GraphicsTester.Mac/​TesterTableViewSource.cs Removes scenario table source.
src/​Graphics/​samples/​GraphicsTester.Mac/​MainWindowController.cs Removes window controller.
src/​Graphics/​samples/​GraphicsTester.Mac/​MainWindow.xib Removes window resource.
src/​Graphics/​samples/​GraphicsTester.Mac/​MainWindow.designer.cs Removes window registrations.
src/​Graphics/​samples/​GraphicsTester.Mac/​MainWindow.cs Removes window implementation.
src/​Graphics/​samples/​GraphicsTester.Mac/​Main.cs Removes application entry point.
src/​Graphics/​samples/​GraphicsTester.Mac/​Info.plist Removes application metadata.
src/​Graphics/​samples/​GraphicsTester.Mac/​GraphicsTester.Mac.csproj Removes native Mac sample project.
src/​Graphics/​samples/​GraphicsTester.Mac/​AppDelegate.designer.cs Removes delegate registration.
src/​Graphics/​samples/​GraphicsTester.Mac/​AppDelegate.cs Removes application delegate.
src/​Graphics/​Microsoft.Maui.Graphics.slnf Removes retired project selections.
Microsoft.Maui.sln Removes retired projects and GUID mappings.
Microsoft.Maui.LegacyControlGallery.sln Removes retired projects and GUID mappings.
Microsoft.Maui-vscode.sln Removes GTK projects and GUID mappings.
Microsoft.Maui-dev.sln Removes retired projects and GUID mappings.
eng/​NuGetVersions.targets Removes unused package version updates.

Review effort: Balanced

@azure-pipelines

This comment has been minimized.

kubaflo
kubaflo previously approved these changes Oct 22, 2026
@kubaflo
kubaflo changed the base branch from main to net11.0 October 22, 2026 17:14
@kubaflo
kubaflo dismissed their stale review October 22, 2026 17:14

The base branch was changed.

Keep the legacy gallery solution deleted as part of the target branch compatibility removal while preserving Graphics project cleanup.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 22, 2026 17:17
@kubaflo

kubaflo commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Resolved and pushed the conflict with net11.0 in ordinary merge commit 65cd8016c2 on the original PR branch.

The only conflict was modify/delete on Microsoft.Maui.LegacyControlGallery.sln. This PR removed obsolete Graphics references from that solution, while net11 intentionally deleted the entire solution when removing the compatibility package (#35870). Kept the solution deleted rather than resurrecting it. All other solution and package changes merged automatically, preserving the Graphics project cleanup alongside current net11 changes.

Validation: all 403 Graphics unit tests passed with native platform targets disabled. All 228 project paths across seven solution filters resolve, the three automatically merged solutions have no duplicate project GUIDs, and no retired Graphics project references remain in the checked solution/project files. The conflict-resolution diff check passed. No native UI automation, device tests, or XCTest were run.

@kubaflo
kubaflo merged commit 3c9c033 into net11.0 Oct 22, 2026
5 of 15 checks passed
@kubaflo
kubaflo deleted the rmarinho-graphics-project-cleanup branch October 22, 2026 17:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Available evidence does not establish cross-platform build and native-platform validation, so final human review is needed.

No open issues 🎉

5 files not reviewed
  • src/Graphics/samples/GraphicsTester.Mac/AppDelegate.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Mac/MainWindow.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindow.designer.cs: Generated file
  • src/Graphics/samples/GraphicsTester.Skia.Mac/MainWindowController.designer.cs: Generated file

Review effort: Balanced

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing platform/macos macOS / Mac Catalyst s/agent-review-in-progress AI review is currently running for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[net9.0] Refining Microsoft.Maui.Graphics in .NET 9.0 Branch

3 participants