I'm creating a basic class library that heavily wraps another DLL reference. I'm trying to build a DLL but it seems to not include the reference.
Is there a way I can build and package the my entire solution in a DLL along with the reference DLL?
I'm creating a basic class library that heavily wraps another DLL reference. I'm trying to build a DLL but it seems to not include the reference.
Is there a way I can build and package the my entire solution in a DLL along with the reference DLL?
I figured this out. I use ilmerge by microsoft (https://www.microsoft.com/en-us/download/details.aspx?id=17630) to merge my DLLs into a single DLL file.
Just go thru the following and you'll have the merged DLL.
Step 1: Install ilmerge and put it on your system classpath Step 2:
ilmerge /out:MergedDLLName.dll /closed DLL1.dll DLL2.dll DLL3.dll
Hope this helps.