Skip to content

Update to Avalonia 12#259

Open
Happypig375 wants to merge 4 commits intomasterfrom
avalonia12
Open

Update to Avalonia 12#259
Happypig375 wants to merge 4 commits intomasterfrom
avalonia12

Conversation

@Happypig375
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

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
File Description
Directory.Build.props Updates centralized Avalonia version to 12 RC.
CSharpMath.SkiaSharp/CSharpMath.SkiaSharp.csproj Updates SkiaSharp package version to a preview build.
CSharpMath.Rendering.Tests/CSharpMath.Rendering.Tests.csproj Removes direct SkiaSharp/native-assets references; relies on Avalonia.Skia + project refs.
CSharpMath.Maui.Example/CSharpMath.Maui.Example.csproj Removes direct Microsoft.Maui.Controls ref and disables MAUI implicit package validation.
CSharpMath.Avalonia/CSharpMath.Avalonia.csproj Changes Avalonia front-end TFM from netstandard2.0 to net10.0.
CSharpMath.Avalonia.Example/MainWindow.xaml.cs Removes DEBUG dev-tools attachment.
CSharpMath.Avalonia.Example/CSharpMath.Avalonia.Example.csproj Drops Avalonia.Diagnostics package reference.

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


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

Copilot AI Mar 25, 2026

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
<PackageReference Include="SkiaSharp" Version="3.119.3-preview.1.1" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />

Copilot uses AI. Check for mistakes.
Copy link
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
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@charlesroddie charlesroddie left a comment

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.

Sign up for free to 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.

3 participants