Skip to content

Add Mapsui.UI.Avalonia12 project targeting Avalonia 12 - #3343

Merged
pauldendulk merged 4 commits into
mainfrom
avalonia12
May 2, 2026
Merged

pauldendulk merged 4 commits into
mainfrom
avalonia12

Conversation

@pauldendulk

Copy link
Copy Markdown
Member

Summary

Adds Mapsui.UI.Avalonia12, a new library project that targets Avalonia 12 (12.0.2), modeled on the existing Mapsui.UI.Maui8 pattern.

Changes

  • Mapsui.UI.Avalonia12/Mapsui.UI.Avalonia12.csproj — new library project (Mapsui.Avalonia12 NuGet package). Links source files from Mapsui.UI.Avalonia rather than duplicating them. Uses AssemblyName=Mapsui.UI.Avalonia so AXAML namespace references (assembly=Mapsui.UI.Avalonia) resolve without modification.
  • Mapsui.UI.Avalonia/MapControl.cs — adds #if __AVALONIA12__ guard for the RenderScaling API break: VisualRoot?.RenderScaling → TopLevel.GetTopLevel(this)?.RenderScaling.
  • Directory.Build.props — adds Avalonia12Version, Avalonia12SkiaSharpVersion, Avalonia12HarfBuzzSharpVersion, and Avalonia12ReactiveUIVersion properties.
  • Mapsui.Avalonia.slnf / Mapsui.slnx — include the new project.

Notes

  • Avalonia 12 requires SkiaSharp 3.119.4-preview.1.1 and HarfBuzzSharp 8.3.1.3, which differ from the central catalog versions. VersionOverride is used in the new project to isolate the impact.
  • Avalonia.ReactiveUI was renamed to ReactiveUI.Avalonia in v12; Avalonia.Diagnostics was merged into Avalonia.
  • Targets net8.0 and net9.0, consistent with Mapsui.UI.Avalonia.

pauldendulk and others added 3 commits April 30, 2026 20:52
@pauldendulk pauldendulk added the PR type: 📦 Update Updates to third-party libraries, SDKs, etc. label Apr 30, 2026
@JohnySeven

Copy link
Copy Markdown

Nice, thank you!

@pauldendulk
pauldendulk merged commit 7c918e3 into main May 2, 2026
6 checks passed
@pauldendulk
pauldendulk deleted the avalonia12 branch May 2, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR type: 📦 Update Updates to third-party libraries, SDKs, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants