2013年5月25日

C#中将dll汇入exe,并加壳(转载)

摘要: 这几天在做自己的一个小程序,因为使用了3层架构,运行目录下有很多dll文件,最终发布时,我打算将dll文件都合并到exe文件中去。微软发布的免费软件ILmerge可以完成这项工作,研究了一下,其用法如下:1、合并file1.dll、file2.dll到destination.dllILmerge /ndebug /target:dll /out:C:\destination.dll /log C:\file1.dll C:\file2.dll2、合并file1.dll、file2.dll以及myApp.exe到newApp.exeILmerge /ndebug /target:winexe / 阅读全文

posted @ 2013-05-25 15:10 seaven 阅读(1421) 评论(0) 推荐(1)

导航