Repository navigation
Housekeeping: remove legacy UWP/WinUI, migrate to .slnx, refresh meta-package, CI, and docs - #377
Merged
Merged
Conversation
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>
There was a problem hiding this comment.
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.slnxand 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.
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Microcharts.Uwp,Microcharts.WinUI,Microcharts.Samples.Uwp, andMicrocharts.Samples.WinUIprojects. 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 throughMicrocharts.Maui(basenet10.0build) + SkiaSharp's Windows handler, not these projects.Solution files → single
.slnx.slnfiles into a singleSources/Microcharts.slnx.publish.yml,pull-request.yml,README.md,Directory.Build.props,Nuget.config) and theMicrocharts.Metapackageproject. Corrected the previously-stale item list (it referenced the deletedCI-MacOS.yml/CI-Windows.ymland omittedpublish.yml).buildpackages.cmdscript (superseded bybuildpackages-maui.sh; it still invoked the removed UWP/WinUI/macOS projects).Meta-package
net10.0-windows10.0.19041.0dependency group so theMicrochartsmeta-package pulls inMicrocharts.Mauion a MAUI Windows head (previously it fell back to thenet10.0base group, which omits it).<repository>metadata so the package links to the repo on GitHub Packages, matching the other packages.CI
actions/checkout@v4 → v7andactions/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 atmain; 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 stalemaster/1.0/0.9/developnote with currentmain+ 2.x guidance.CLAUDE.md— CI/CD and versioning sections now referencepublish.ymlinstead of the removedCI-Maui.yml/CI-Windows.yml.Verification
dotnet build Sources/Microcharts.slnx --configuration Release→ Build succeeded, 0 errors (re-verified after each structural change).net10.0-windowsdependency group present in the generated nuspec.🤖 Generated with Claude Code