fix: upgrade Avalonia to 12.0.5 to resolve startup TypeLoadException#50
Merged
Merged
Conversation
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>
astar-development-jb
approved these changes
Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tmds.DBus.Protocoloverride from 0.93.0 → 0.92.0SkiaSharpandSkiaSharp.NativeAssets.Linux.NoDependenciesfrom the preview3.119.3-preview.1.1→ stable3.119.4Root cause
Tmds.DBus.Protocol 0.93.0removed theConnectionclass.Avalonia.X11 12.0.0was compiled against0.90.3which still had it — the version mismatch caused aTypeLoadExceptioninX11DBusImeHelper.DetectAndRegister()on every startup.Avalonia 12.0.5 ships with
Tmds.DBus.Protocol 0.92.0, which keeps theConnectionAPI intact and still addressesGHSA-xrw6-gwf8-vvr9.Test plan
dotnet build— 0 errors, 0 warningsdotnet test)TypeLoadExceptionon startup🤖 Generated with Claude Code