During the underlying Encoding Process of. net, multiple dll may be generated for function independence, which is inconvenient to reference. In this regard, Microsoft provides an ilmerge tool, the original dostool, which can merge multiple DLL files into one. After the download is complete, install it and run the doscommand. The usage is as follows:
D: \ Program Files \ Microsoft \ ilmerge> ilmerge/log : Log . Txt/targetplatform : V4 /
Out: Merge. Dll analysislibrary. dll usbclasslibrary. dll
Note: The purpose of this operation is to merge the analysislibrary. dll and usbclasslibrary. dll class libraries under the current directory into merge. dll in the form of. netframework 4.0 (V4.
Where: /Log : Log . Txt The command is to write the logs generated in the process to the log.txt file. Out : Merge . Dll : Is the output file. Analysislibrary. dll usbclasslibrary. dll is the source file. Multiple source files are separated by spaces.
Of course, some people have added interfaces. If you are not used to the DOS command, you can also download the GUI tool here. Download version 1.9 or an updated version. Version 1.0 only supports framework2.0. The interface tool is relatively simple.