Skip to content

Update to Avalonia 12 - #259

Merged
Happypig375 merged 5 commits into
masterfrom
avalonia12
Aug 14, 2026
Merged

Update to Avalonia 12#259
Happypig375 merged 5 commits into
masterfrom
avalonia12

Conversation

@Happypig375

Copy link
Copy Markdown
Collaborator

No description provided.

CopilotAI 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.

Pull request overview

Updates the repository’s Avalonia integration to Avalonia 12, adjusting related project dependencies and examples to compile against the new version.

Changes:

  • Bump centralized $(AvaloniaVersion) to 12.0.0-rc1 and update related Avalonia example usage.
  • Update SkiaSharp dependency version and simplify SkiaSharp references in test projects.
  • Adjust target frameworks / package references in Avalonia + MAUI projects to accommodate the upgrade.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
FileDescription
Directory.Build.propsUpdates centralized Avalonia version to 12 RC.
CSharpMath.SkiaSharp/CSharpMath.SkiaSharp.csprojUpdates SkiaSharp package version to a preview build.
CSharpMath.Rendering.Tests/CSharpMath.Rendering.Tests.csprojRemoves direct SkiaSharp/native-assets references; relies on Avalonia.Skia + project refs.
CSharpMath.Maui.Example/CSharpMath.Maui.Example.csprojRemoves direct Microsoft.Maui.Controls ref and disables MAUI implicit package validation.
CSharpMath.Avalonia/CSharpMath.Avalonia.csprojChanges Avalonia front-end TFM from netstandard2.0 to net10.0.
CSharpMath.Avalonia.Example/MainWindow.xaml.csRemoves DEBUG dev-tools attachment.
CSharpMath.Avalonia.Example/CSharpMath.Avalonia.Example.csprojDrops Avalonia.Diagnostics package reference.

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

Comment threadDirectory.Build.props Outdated
Comment threadCSharpMath.Avalonia/CSharpMath.Avalonia.csproj

<ItemGroup>
<PackageReference Include="SkiaSharp" Version="3.119.1" />
<PackageReference Include="SkiaSharp" Version="3.119.3-preview.1.1" />

CopilotAIMar 25, 2026

Copy link

Choose a reason for hiding this comment

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

SkiaSharp is updated to a preview package (3.119.3-preview.1.1). Preview dependencies can be unstable and may not be acceptable for a published library package. If this is only needed to match Avalonia 12 RC, consider pinning to a stable SkiaSharp version (if compatible) or clearly isolating/preventing shipping of preview dependencies in release packages.

Suggested change
<PackageReferenceInclude="SkiaSharp"Version="3.119.3-preview.1.1" />
<PackageReferenceInclude="SkiaSharp"Version="2.88.6" />

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I agree with this review. Either use 3.119.2 or delay the PR until 3.119.3 release.

Copy link
Copy Markdown
CollaboratorAuthor

Choose a reason for hiding this comment

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

Comment threadCSharpMath.Maui.Example/CSharpMath.Maui.Example.csproj

@charlesroddiecharlesroddie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Other than the SkiaSharp version change, no core libraries of CSharpMath are affected. So this PR will be approved when the comment on that version change is resolved.

@Happypig375

Copy link
Copy Markdown
CollaboratorAuthor

Avalonia 12 released retaining the SkiaSharp prerelease reference.

@charlesroddie Review the updated #258 please

carne8 added a commit to carne8/Starter that referenced this pull request Apr 15, 2026
- Fix settings icons
- Fix settings window corners
- Disable LaTeX for calculator (waiting verybadcat/CSharpMath#259)
- Use setsid to start JetBrains workspaces on Linux
- Add antialiasing settings
@Happypig375

Copy link
Copy Markdown
CollaboratorAuthor

@charlesroddie review please

@charlesroddiecharlesroddie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks - now that SkiaSharp is on the stable 3.119.4 (no longer a prerelease), this looks good to me.

@Kryptos-FR

Kryptos-FR commented Aug 14, 2026

Copy link
Copy Markdown

Hello. Any chances to get it merged? I'd like to try to integrate it in Markview.Avalonia which targets v12.
I can try to use the Skia version as a workaround in the meantime.

@Happypig375
Happypig375 merged commit ddd8b98 into masterAug 14, 2026
9 of 10 checks passed
@Happypig375

Copy link
Copy Markdown
CollaboratorAuthor

@Kryptos-FR See v1.0.0-pre.2

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@Happypig375@Kryptos-FR@charlesroddie