合并dll

1、合并file1.dll、file2.dll到destination.dll  
ILmerge /ndebug /target:dll /out:C:\destination.dll /log C:\file1.dll C:\file2.dll 


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 

注意:合并为exe时,myapp.exe必须写在file1.dll、file2.dll前面

 

posted @ 2009-03-30 14:44  M'  阅读(743)  评论(0编辑  收藏  举报