Does not take 2 libraries at a time

Jan 21, 2014 at 6:20 AM
Hi,
Here is my command.
libz inject-dll --assembly D:\LibZ_Container_Test\MasterClient.exe --include D:\LibZ_Container_Test\DepLib1.dll --include D:\LibZ_Container_Test\DepLib2.dll --move

This only combines DepLib1.dll. The 2nd library is not injected. I might have written a wrong command. Can you please suggest how i can put multiple dlls into a single exe.

Regards,
Sushma
Coordinator
Jan 21, 2014 at 10:07 AM
Edited Jan 21, 2014 at 10:25 AM
How do you know it didn't? Does it say it did not (include log file or screenshot)?
Can you use ILSpy and give me screenshot of resources?

For example:
C:\Users\xxx\Desktop\Release>libz inject-dll -a MyApplication.exe -i Antlr3.Runtime.dll -i Castle.Core.dll --move

Executing inject-dll (Injects .dll file into assembly as resource):

Loading 'MyApplication.exe'
Loaded 'MyApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a63c062b8806d420'
Loading '.\Antlr3.Runtime.dll'
Loaded 'Antlr3.Runtime, Version=3.1.0.39271, Culture=neutral, PublicKeyToken=3a9cab8f8d22bfb7'
Injecting '.\Antlr3.Runtime.dll' into 'MyApplication.exe'
Loading '.\Castle.Core.dll'
Loaded 'Castle.Core, Version=1.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc'
Injecting '.\Castle.Core.dll' into 'MyApplication.exe'
Instrumenting assembly with initialization code
Image