LibZ icon indicating copy to clipboard operation
LibZ copied to clipboard

Plugin is not loaded when merging dll

Open moh-hassan opened this issue 5 years ago • 0 comments

I use Scenario 1: Single assembly with no container

         libz inject-dll --assembly MyApplication.exe --include *.dll --move

One of the assemblies asemply1.dll reference another one asembly2.dll, and all are injected. The application is working fine, but when I try to load plugin from external dll file it's not loaded. The plugin use Interface exist in asembly2

Edit: The plugin is compiled using asembly2.dll of old version The merged dll are higher version

When tested the event AppDomain.CurrentDomain.AssemblyResolve , i find it the resolver need the old version of the library asembly2.dll (although higer version is merged)

moh-hassan avatar May 18 '19 02:05 moh-hassan