使用ILMerge工具可以将.NET生成的EXE文件和DLL文件打包在一起!
ILMerge工具下载: http://www.microsoft.com/downloads/en/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en
执行方法命令行:ilmerge old.exe xxx.dll /ndebug /out:new.exe
参考资料:
http://www.cnblogs.com/airwolf2026/archive/2010/06/28/1767058.html
欢迎转载,转载请注明:转载自[ http://www.cnblogs.com/zjfree/ ]