Skip to content

fix: upgrade Avalonia to 12.0.5 to resolve startup TypeLoadException#50

Merged
astar-development-jb merged 1 commit into
mainfrom
fix/avalonia-tmds-typeload-exception
Jun 27, 2026
Merged

fix: upgrade Avalonia to 12.0.5 to resolve startup TypeLoadException#50
astar-development-jb merged 1 commit into
mainfrom
fix/avalonia-tmds-typeload-exception

Conversation

@jaybarden1

Copy link
Copy Markdown
Contributor

Summary

  • Upgrades Avalonia from 12.0.0 → 12.0.5 (latest patch)
  • Changes Tmds.DBus.Protocol override from 0.93.0 → 0.92.0
  • Bumps SkiaSharp and SkiaSharp.NativeAssets.Linux.NoDependencies from the preview 3.119.3-preview.1.1 → stable 3.119.4

Root cause

Tmds.DBus.Protocol 0.93.0 removed the Connection class. Avalonia.X11 12.0.0 was compiled against 0.90.3 which still had it — the version mismatch caused a TypeLoadException in X11DBusImeHelper.DetectAndRegister() on every startup.

Avalonia 12.0.5 ships with Tmds.DBus.Protocol 0.92.0, which keeps the Connection API intact and still addresses GHSA-xrw6-gwf8-vvr9.

Test plan

  • dotnet build — 0 errors, 0 warnings
  • 94 unit tests pass (dotnet test)
  • Manual: launch the app on Linux and verify no TypeLoadException on startup

🤖 Generated with Claude Code

Tmds.DBus.Protocol 0.93.0 removed the Connection class that
Avalonia.X11 12.0.0 compiled against, causing a TypeLoadException
on Linux startup. Avalonia 12.0.5 ships with 0.92.0 which keeps the
Connection API and still fixes GHSA-xrw6-gwf8-vvr9. Also bumps
SkiaSharp from the preview (3.119.3-preview.1.1) to the stable
3.119.4 required by Avalonia.Skia 12.0.5.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jaybarden1 jaybarden1 requested a review from a team June 27, 2026 19:23
@astar-development-jb astar-development-jb enabled auto-merge (squash) June 27, 2026 20:07
@astar-development-jb astar-development-jb merged commit c3df1e6 into main Jun 27, 2026
6 checks passed
@astar-development-jb astar-development-jb deleted the fix/avalonia-tmds-typeload-exception branch June 27, 2026 20:07
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.

2 participants