The last day I used the ILMerge ON THE Micrsoft official website to bind the exe and dll files.
Http://www.microsoft.com/downloads/details.aspx? FamilyID = 22914587-B4AD-4EAE-87CF-B14AE6A939B0 & displaylang = en
However, the operation is completed in the CMD command line. It is unfriendly and you have developed a program for flexible operations.
This is the ILMergeEx I wrote:
The following describes how to use the program:
1. Open the program, as shown in:
2.if you want to bind windowsformsapplication2.exe and newDll. dll in the newly created folder under the table to generate an exe file. newDll. dll and newExe.exe are the application items in windowsformsapplication2.exe:
3.open the program. In the main file, choose windowsformsapplication2.exe. For the reference assembly, select newExe.exe and newDll. dll. to export the new exe file, set it to HC. The path is also the new folder on the desktop:
4. Click Export. The program will automatically call ILMerge to bind the main file to the referenced program. At this time, the DOS program running is the same as running ILMerge directly in CMD. D:
5. Check the newly created exe file in the newly created folder:
The above test passed in VS2008, WIN7, And. NET3.5 environments.
Program:
Http://files.cnblogs.com/huangcong/ILMergeEx.rar