Today, I made a software program and found that there are only a few classes to be called when I want to release it, just like packaging them with the EXE files. It will be convenient to copy them to other places for use in the future, so I searched the internet and found that most of the Internet was implemented using ilmerge, so I tried it myself. However, there was no detailed step demonstration on the Internet, so I took some time to make a tutorial, someone else wants to package their ownProgram, There is an articleArticleYou can refer to the following link for more information:
1. First to the http://www.microsoft.com/downloads/details.aspx? Familyid = 22914587-b4ad-4eae-87cf-b14ae6a939b0 & displaylang = EN download ilmerge, only over 600 K, all of a sudden it's ready.
2. Install the SDK after the download:
3. The installation can be completed in less than one minute:
4. I am installed in the ilmergedirectory under the idisc. The following is the installation file, and it is just an ilmerge.exe file. We will use it to package programs.
5. For demonstration, I re-created a project and finally generated the main.exe and newdllfiles. In this case, newdllis the main.exe release file.
6. Enter the DOS window, enter the ilmerge directory, and then execute the followingCode:
I: \ ilmerge \ ilmerge.exe/ndebug/Target: winexe/out: newclient.exe mainexe.exe/log newdll. dll
7.ilmergeruntime window, which means the main.exe and newdll files are bundled together by nuoli:
The combination of idea and newdll. dll:
The above experiment is on the. NET framework3.5 platform under win7 and passed the test in the vs2008 environment