Necroposting, but recently spent a better part of a day debugging a DLL conflict between two GH plugins.
What eventaully “fixed” it, altough I wouldn’t still consider it a perfect solution was making sure the Memory load *.GHA assemblies using COFF byte arrays option in GrasshopperDeveloperSettings
was turned off. Might be worth trying first before you dive deeper into overriding AssemblyResolve etc.
Further potentially useful reading:
-
This thread and answer by @DavidRutten:
Does Rhino6 Grasshopper has a dll hell? -
Issue raised for Newtonsoft.Json conflict in Speckle plugin… :
Grasshopper client newtonsoft conflict - Making Speckle - Speckle Community -
…and the solution (releasing their own renamed copy of the Newtonsoft.Json as a NuGet package, lol)
Alias Newtonsoft · Issue #190 · specklesystems/speckle-sharp · GitHub