Skip to content

Housekeeping: remove legacy UWP/WinUI, migrate to .slnx, refresh meta-package, CI, and docs - #377

Merged
follesoe merged 9 commits into
mainfrom
chore/housekeeping
Jul 20, 2026
Merged

follesoe merged 9 commits into
mainfrom
chore/housekeeping

Conversation

@follesoe

Copy link
Copy Markdown
Contributor

Summary

A housekeeping pass on the repository: remove dead projects, modernize the solution format, and refresh the meta-package, CI, and docs to match the current .NET 10 / MAUI state.

Changes

Removed legacy projects

  • Deleted the orphaned Microcharts.Uwp, Microcharts.WinUI, Microcharts.Samples.Uwp, and Microcharts.Samples.WinUI projects. They were not in the build solution, not packed or shipped by CI, and not part of the 2.0.0 meta-package. MAUI-on-Windows is unaffected — it goes through Microcharts.Maui (base net10.0 build) + SkiaSharp's Windows handler, not these projects.

Solution files → single .slnx

  • Migrated to the .NET 10 XML solution format and consolidated the two .sln files into a single Sources/Microcharts.slnx.
  • Added a Solution Items folder (publish.yml, pull-request.yml, README.md, Directory.Build.props, Nuget.config) and the Microcharts.Metapackage project. Corrected the previously-stale item list (it referenced the deleted CI-MacOS.yml/CI-Windows.yml and omitted publish.yml).
  • Removed the stale buildpackages.cmd script (superseded by buildpackages-maui.sh; it still invoked the removed UWP/WinUI/macOS projects).

Meta-package

  • Added a net10.0-windows10.0.19041.0 dependency group so the Microcharts meta-package pulls in Microcharts.Maui on a MAUI Windows head (previously it fell back to the net10.0 base group, which omits it).
  • Added <repository> metadata so the package links to the repo on GitHub Packages, matching the other packages.

CI

  • Bumped actions/checkout@v4 → v7 and actions/setup-dotnet@v4 → v6 (both v4 pins run on the deprecated Node 20 runtime; the new majors use Node 24). Drop-in for this repo.

Docs

  • README — contribution guidance points at main; the Xamarin.Forms tutorial is marked legacy; Compatibility now lists .NET MAUI (Windows/Android/iOS/Mac Catalyst) plus the native iOS and Android views, all on .NET 10.
  • CONTRIBUTING — replaced the stale master/1.0/0.9/develop note with current main + 2.x guidance.
  • CLAUDE.md — CI/CD and versioning sections now reference publish.yml instead of the removed CI-Maui.yml/CI-Windows.yml.

Verification

  • dotnet build Sources/Microcharts.slnx --configuration Release → Build succeeded, 0 errors (re-verified after each structural change).
  • Meta-package packs with the new net10.0-windows dependency group present in the generated nuspec.
  • Both workflow YAMLs validated as well-formed.

🤖 Generated with Claude Code

follesoe and others added 7 commits July 20, 2026 12:00
Link the meta-package to the repo on GitHub Packages, matching the
other four packages which already carry a <repository> element.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Delete Microcharts.Uwp, Microcharts.WinUI, Microcharts.Samples.Uwp, and
Microcharts.Samples.WinUI. These are standalone non-MAUI platform heads:
they are not part of Microcharts.Maui.sln, not built or packed by CI, and
not shipped in the 2.0.0 meta-package.

Also drop these — and the already-missing Microcharts.macOS /
Microcharts.Samples.macOS references — from Microcharts.sln so the legacy
solution loads cleanly again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
On a MAUI Windows head the meta-package fell back to the net10.0 base
group, which omits Microcharts.Maui. Add a net10.0-windows10.0.19041.0
group (Core + Maui + SkiaSharp + SkiaSharp.Views.Maui.Controls) plus its
matching lib placeholder so the MAUI ChartView is available on Windows.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the two MSBuild .sln files (Microcharts.Maui.sln and the legacy
Microcharts.sln) with a single Microcharts.slnx using the .NET 10 XML
solution format, and point the build references in CLAUDE.md and the CI
workflows at it.

Also remove buildpackages.cmd, a stale Windows build script superseded by
buildpackages-maui.sh that still invoked the removed UWP/WinUI/macOS
projects.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Surface the CI workflows (publish.yml, pull-request.yml), README.md,
Directory.Build.props and Nuget.config in a Solution Items folder, and
add the Microcharts.Metapackage project so the whole codebase is visible
from the one solution.

The previous solution's item list was stale: it referenced the deleted
CI-MacOS.yml / CI-Windows.yml workflows and omitted publish.yml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Move actions/checkout v4 -> v7 and actions/setup-dotnet v4 -> v6 across
both workflows. The v4 pins run on the deprecated Node 20 runtime; the
new majors use Node 24. Changes are drop-in here — setup-dotnet v5's
removal of older-.NET installer support does not affect this repo, which
installs .NET 10.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- README: point contribution guidance at the main branch; mark the
  Xamarin.Forms tutorial as legacy; expand Compatibility to list MAUI
  plus the native iOS and Android views, all on .NET 10.
- CONTRIBUTING: replace the stale master/1.0/0.9/develop-branch note
  with current main-branch + 2.x guidance.
- CLAUDE.md: correct the CI/CD and versioning sections to reference
  publish.yml instead of the removed CI-Maui.yml / CI-Windows.yml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@follesoe follesoe added enhancement dependencies Pull requests that update a dependency file labels Jul 20, 2026
@follesoe follesoe self-assigned this Jul 20, 2026
@follesoe follesoe added this to the v2.0.0 milestone Jul 20, 2026
@follesoe
follesoe requested a review from Copilot July 20, 2026 11:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Housekeeping update to align Microcharts with its current .NET 10 / MAUI direction by removing legacy Windows-specific projects, consolidating the solution format to .slnx, updating the meta-package, and refreshing CI/docs accordingly.

Changes:

  • Removed legacy UWP/WinUI library and sample projects.
  • Consolidated solution files into Sources/Microcharts.slnx and removed obsolete build script.
  • Updated the meta-package nuspec, CI workflows, and contributor documentation to reflect current tooling and branching.

Reviewed changes

Copilot reviewed 33 out of 48 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Sources/Microcharts.WinUI/Microcharts.WinUI.csproj Removed legacy WinUI project.
Sources/Microcharts.Uwp/Properties/Microcharts.Uwp.rd.xml Removed legacy UWP runtime directives file.
Sources/Microcharts.Uwp/Properties/AssemblyInfo.cs Removed legacy UWP assembly metadata file.
Sources/Microcharts.Uwp/Microcharts.Uwp.csproj Removed legacy UWP project.
Sources/Microcharts.Uwp/ChartView.cs Removed legacy UWP/WinUI chart view implementation.
Sources/Microcharts.slnx Added consolidated .NET 10 XML solution file.
Sources/Microcharts.Samples.WinUI/Properties/PublishProfiles/win10-x86.pubxml Removed legacy WinUI sample publish profile.
Sources/Microcharts.Samples.WinUI/Properties/PublishProfiles/win10-x64.pubxml Removed legacy WinUI sample publish profile.
Sources/Microcharts.Samples.WinUI/Properties/PublishProfiles/win10-arm64.pubxml Removed legacy WinUI sample publish profile.
Sources/Microcharts.Samples.WinUI/Properties/launchSettings.json Removed legacy WinUI sample launch settings.
Sources/Microcharts.Samples.WinUI/Package.appxmanifest Removed legacy WinUI sample app manifest.
Sources/Microcharts.Samples.WinUI/Microcharts.Samples.WinUI.csproj Removed legacy WinUI sample project.
Sources/Microcharts.Samples.WinUI/MainWindow.xaml.cs Removed legacy WinUI sample window code-behind.
Sources/Microcharts.Samples.WinUI/MainWindow.xaml Removed legacy WinUI sample window XAML.
Sources/Microcharts.Samples.WinUI/App.xaml.cs Removed legacy WinUI sample app code-behind.
Sources/Microcharts.Samples.WinUI/App.xaml Removed legacy WinUI sample app XAML.
Sources/Microcharts.Samples.WinUI/app.manifest Removed legacy WinUI sample manifest.
Sources/Microcharts.Samples.Uwp/Properties/Default.rd.xml Removed legacy UWP sample runtime directives file.
Sources/Microcharts.Samples.Uwp/Properties/AssemblyInfo.cs Removed legacy UWP sample assembly metadata file.
Sources/Microcharts.Samples.Uwp/Package.appxmanifest Removed legacy UWP sample app manifest.
Sources/Microcharts.Samples.Uwp/Microcharts.Samples.Uwp.csproj Removed legacy UWP sample project.
Sources/Microcharts.Samples.Uwp/MainPage.xaml.cs Removed legacy UWP sample page code-behind.
Sources/Microcharts.Samples.Uwp/MainPage.xaml Removed legacy UWP sample page XAML.
Sources/Microcharts.Samples.Uwp/App.xaml.cs Removed legacy UWP sample app code-behind.
Sources/Microcharts.Samples.Uwp/App.xaml Removed legacy UWP sample app XAML.
Sources/Microcharts.Metapackage/Microcharts.Metapackage.nuspec Added repository metadata and a Windows TFM dependency group; added placeholder lib folder for the new TFM.
Sources/Microcharts.Maui.sln Removed old solution file superseded by .slnx.
README.md Updated contribution guidance, tutorial note, and compatibility section for .NET 10 / MAUI.
CONTRIBUTING.md Updated branching guidance and corrected framework naming.
CLAUDE.md Updated build command and CI references to use .slnx and current workflows.
buildpackages.cmd Removed obsolete Windows build/pack script referencing removed projects.
.github/workflows/pull-request.yml Updated checkout/setup-dotnet versions and build command to .slnx.
.github/workflows/publish.yml Updated checkout/setup-dotnet versions and build command to .slnx.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

follesoe and others added 2 commits July 20, 2026 13:53
- Main.cs: use the type-safe UIApplication.Main(..., typeof(AppDelegate))
  overload (CS0618).
- AppDelegate.cs: suppress CA1422 for the classic pre-scene UIWindow
  creation, with an explanatory comment.
- Replace the broken AppIcon set (13 referenced PNGs, none present) with a
  single 1024x1024 universal app icon, clearing 72 actool warnings.

A clean build of Microcharts.Samples.iOS now reports 0 warnings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
NuGet .nuspec dependency versions use the lowercase `version` attribute.
The uppercase `Version` on the SkiaSharp.Views.Maui.Controls dependency
in the android/ios/maccatalyst groups was silently ignored, so the
generated nuspec shipped that dependency unconstrained. Lowercase all
three so the 3.116.1 constraint is honoured (the net10.0-windows group
already used the correct casing).

Reported by GitHub Copilot code review on #377.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@follesoe
follesoe merged commit 8b3d35e into main Jul 20, 2026
2 checks passed
@follesoe
follesoe deleted the chore/housekeeping branch July 20, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants