資源簡(jiǎn)介
ILMerge 這個(gè)工具能把多個(gè)DLL合并成一個(gè)DLL。
開(kāi)發(fā)打包方便多了。
多個(gè)DLL合并成一個(gè)DLL,把DLL合并到Exe中的解決方案
多個(gè)DLL合并成一個(gè)DLL,把DLL合并到Exe中的解決方案
開(kāi)始-》運(yùn)行 -》 "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時(shí),myapp.exe 必須寫(xiě)在file1.dll、file2.dll 前面

代碼片段和文件信息
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????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\多個(gè)DLL合并成一個(gè)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\多個(gè)DLL合并成一個(gè)DLL.txt
?????目錄??????????0??2013-05-09?15:06??ILMerge2
-----------?---------??----------?-----??----
???????????????884538????????????????????5
- 上一篇:VS2010黑色主題安裝工具包
- 下一篇:單片機(jī)智能交通燈
評(píng)論
共有 條評(píng)論