LibZ icon indicating copy to clipboard operation
LibZ copied to clipboard

FileNotFoundException:

Open balla1989 opened this issue 4 years ago • 0 comments

Hi All, I am trying to merge some .dlls into one single .dll. Please see the snap here=> 1

These .dlls are created from Visual studio 2017 and work with AutoCAD Civil 3d. The code works well but when distributing to end users I want to have just one .dll rather than all these.

I have installed LibZ from VS Nuget Package Manager. When I run the command

PM> libz inject-dll --assembly WSP_UT_MATCH_FEATURELINE_ED.dll --include *.dll --exclude WSP_UT_MATCH_FEATURELINE_ED.dll --move

I am getting "FileNotFound Exception". Please refer to the image below: 2

Would anyone please be able to provide some thoughts on this matter?

I have tried copying all the .dlls from "debug" folder to the main project folder and of course, it did not work.

I have also tried referencing the final .dll file "WSP_UT_MATCH_FEATURELINE_ED.dll" back to the project and run the command. 3. Did not work.

I am new to reflections and combining .dlls. Would appreciate any help. Thanks. :)

balla1989 avatar Jan 30 '21 09:01 balla1989