資源簡介
ILMerge 這個工具能把多個DLL合并成一個DLL。
開發打包方便多了。
多個DLL合并成一個DLL,把DLL合并到Exe中的解決方案
多個DLL合并成一個DLL,把DLL合并到Exe中的解決方案
開始-》運行 -》 "cmd" -> "cd C:\Program Files\Microsoft\ILMerge"
3:)
3.1、合并file1.dll、file2.dll到destination.dll
ILmerge /ndebug /target:dll /out:C:\destination.dll /log C:\file1.dll C:\file2.dll
注:
1:) 其中 "/out:C:\destination.dll" 為合并后的 dll目錄及名稱
2:) "C:\file1.dll C:\file2.dll " 為要合并的名稱
3.2、合并file1.dll、file2.dll以及myApp.exe到newApp.exe
ILmerge /ndebug /target:winexe /out:C:\newApp.exe /log C:\myapp.exe C:\file1.dll C:\file2.dll
注:
1:) 合并為exe時,myapp.exe 必須寫在file1.dll、file2.dll 前面

代碼片段和文件信息
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????21493??2011-05-02?21:38??ILMerge2\ILMerge?License.rtf
?????文件??????91136??2010-08-31?15:22??ILMerge2\ILMerge.doc
?????文件?????771072??2011-05-02?21:38??ILMerge2\ILMerge.exe
?????文件????????837??2011-07-26?16:11??ILMerge2\多個DLL合并成一個DLL.txt
?????目錄??????????0??2013-05-09?15:06??ILMerge2
-----------?---------??----------?-----??----
???????????????884538????????????????????5
-----------?---------??----------?-----??----
?????文件??????21493??2011-05-02?21:38??ILMerge2\ILMerge?License.rtf
?????文件??????91136??2010-08-31?15:22??ILMerge2\ILMerge.doc
?????文件?????771072??2011-05-02?21:38??ILMerge2\ILMerge.exe
?????文件????????837??2011-07-26?16:11??ILMerge2\多個DLL合并成一個DLL.txt
?????目錄??????????0??2013-05-09?15:06??ILMerge2
-----------?---------??----------?-----??----
???????????????884538????????????????????5
- 上一篇:VS2010黑色主題安裝工具包
- 下一篇:單片機智能交通燈
評論
共有 條評論