Repository navigation
Remove obsolete Graphics projects - #39530
Conversation
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
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 39530Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 39530" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🔵 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 filesrc/Graphics/samples/GraphicsTester.Mac/MainWindow.designer.cs: Generated filesrc/Graphics/samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs: Generated filesrc/Graphics/samples/GraphicsTester.Skia.Mac/MainWindow.designer.cs: Generated filesrc/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
This comment has been minimized.
This comment has been minimized.
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>
|
Resolved and pushed the conflict with The only conflict was modify/delete on 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. |
There was a problem hiding this comment.
🔵 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 filesrc/Graphics/samples/GraphicsTester.Mac/MainWindow.designer.cs: Generated filesrc/Graphics/samples/GraphicsTester.Skia.Mac/AppDelegate.designer.cs: Generated filesrc/Graphics/samples/GraphicsTester.Skia.Mac/MainWindow.designer.cs: Generated filesrc/Graphics/samples/GraphicsTester.Skia.Mac/MainWindowController.designer.cs: Generated file
Review effort: Balanced
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.MacGraphicsTester.Skia.MacGraphicsTester.Skia.TizenGraphicsTester.Skia.GtkGraphics.Skia.GtkSharpRemove 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.Gtk3andSkiaSharp.NativeAssets.Linuxpackage version updates.Keep the remaining Graphics projects and platform implementations, including the WPF backend, MacCatalyst samples and Resizetizer's
SkiaSharp.NativeAssets.Linux.NoDependenciesdependency.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