Skip to content

Upgrade to .NET 10 and Avalonia 12.0.0#6

Merged
sharpninja merged 2 commits intomainfrom
claude/magical-ritchie
Apr 8, 2026
Merged

Upgrade to .NET 10 and Avalonia 12.0.0#6
sharpninja merged 2 commits intomainfrom
claude/magical-ritchie

Conversation

@sharpninja
Copy link
Copy Markdown
Owner

Summary

  • Upgraded .NET SDK from 9.0.100 to 10.0.201 and TFM from net9.0 to net10.0 across 48 projects
  • Upgraded Avalonia from 11.3.12 to 12.0.0 (stable, released April 7 2026)
  • Applied all Avalonia 12 breaking change migrations: Watermark to PlaceholderText, DataAnnotationsValidationPlugin removal, Android activity initialization, clipboard DataTransfer API, IBinding to BindingBase
  • Replaced Avalonia.Diagnostics with AvaloniaUI.DiagnosticsSupport 2.2.0
  • Updated FluentAvaloniaUI 2.4.1 to 2.5.1, AvaloniaEdit 11.0.0 to 12.0.0
  • Fixed Markdown.Avalonia submodule for Avalonia 12 compat (MathUtilities, IBinding, clipboard API)
  • Updated NUKE build scripts and msix.yml for net10.0
  • MSIX package builds and installs successfully

Test plan

  • dotnet build src/McpServerManager.Desktop compiles clean
  • dotnet build src/McpServer.Web compiles clean
  • dotnet build src/McpServer.Director compiles clean
  • Core.Tests: 137/137 passed
  • UI.Core.Tests: 271/271 passed
  • Director.Tests: 114/114 passed
  • Web.Tests: 74/76 (2 pre-existing bUnit timing flakes)
  • MSIX builds and installs locally

🤖 Generated with Claude Code

sharpninja and others added 2 commits April 8, 2026 10:56
- .NET SDK 9.0.100 → 10.0.201, TFM net9.0 → net10.0 across 48 projects
- Avalonia 11.3.12 → 12.0.0 (core, Desktop, Themes.Fluent, DataGrid, Fonts.Inter)
- Avalonia.AvaloniaEdit 11.0.0 → 12.0.0
- Avalonia.Diagnostics → AvaloniaUI.DiagnosticsSupport 2.2.0
- FluentAvaloniaUI 2.4.1 → 2.5.1
- TextBox.Watermark → PlaceholderText in 18 AXAML files
- Remove DataAnnotationsValidationPlugin (removed in Avalonia 12)
- Android: AvaloniaMainActivity<App> → AvaloniaMainActivity + AvaloniaAndroidApplication<App>
- Clipboard: SetTextAsync → DataTransfer/DataTransferItem API
- Markdown.Avalonia: IBinding → BindingBase, MathUtilities → Math.Abs
- msix.yml framework: net9.0 → net10.0
- NUKE build TFM references updated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sharpninja sharpninja merged commit 40e0a0d into main Apr 8, 2026
@sharpninja sharpninja deleted the claude/magical-ritchie branch April 8, 2026 16:32
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 59ac67ca70

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


/// <summary>Android application class for Avalonia 12 initialization.</summary>
[Application]
public class McpServerManagerApplication : AvaloniaAndroidApplication<App>;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore a valid Android application class definition

This line introduces McpServerManagerApplication as public class ...;, which is not a valid class declaration in C# and will fail when compiling the Android target (e.g., src/McpServerManager.Android). Even after fixing the syntax, this new [Application] type also conflicts with the existing [Application]-annotated MainApplication in MainApplication.cs, so Android startup config (cleartext/network security + crash diagnostics init) can be lost unless the app-class wiring is consolidated.

Useful? React with 👍 / 👎.

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.

1 participant