In order to solve some of the DLL issues I am running into, I am trying to use Fody Weavers: https://github.com/Fody/Costura, an excellent NuGet package that lets you embed one assembly into another. The idea is to embed, say, NewtonSoft.Json into my own assemblies so those can use a specific (newer) version of that assembly while DW continues to use its own. This normally works well as Fody takes care of loading the connected assembly at run time.
However, with Dynamicweb, it keeps crashing when loading the assemblies at startup (see attached), I guess that's because it wants to load missing assemblies from disk maybe and doesn't support the dynamic ones? Is there a way that Dynamicweb and external libraries like this one can coexist more easily? Maybe have a subscriber for each missing assembly that I can handle and tell DW that it's OK that the DLL is missing and that I'll handle it myself?
I'd love to get this to work as it solves many of the painful versioning issues I am running into.
Thanks!