Skip to content

Conversation

@hazre
Copy link
Member

@hazre hazre commented Dec 17, 2025

I came across AssemblyDependencyResolver.ResolveUnmanagedDllToPath while trying to understand how AssemblyLoadContext works in .NET to possibly fix resonite_clipboard_rs issue from the new update.

And this seems to solve pretty much all our problems.

  • No more special dependency handling
  • No more Hardware.info janky workaround to make a *.deps.json
  • It's exactly how the vanilla game would load dependencies because it depends on Renderite.Host.deps.json

I've only tested it on Windows so far, I would appreciate if someone could test it on Linux as well.

…endencyResolver

Replace custom ResolveInternal method with System.Runtime.Loader's AssemblyDependencyResolver for cleaner dependency resolution.
@github-actions
Copy link

Download the artifacts for this pull request:

Copy link

@NepuShiro NepuShiro left a comment

Choose a reason for hiding this comment

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

been using this personally, it works

@Nytra
Copy link

Nytra commented Dec 27, 2025

works for me on linux

@art0007i art0007i merged commit 79562aa into master Jan 1, 2026
2 checks passed
@art0007i art0007i deleted the refactor/assembly-dependency-resolver branch January 1, 2026 17:06
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.

5 participants