日期:2014-05-18  浏览次数:20920 次

C#如何引用资源内的dll
C#如何引用资源内的dll

我想把引用的dll文件放进exe文件内
单纯的Assembly.Load不行。

------解决方案--------------------
试一试这个工具:

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output. See the accompanying documentation for details.

http://www.microsoft.com/en-us/download/details.aspx?id=17630
------解决方案--------------------
探讨

引用:

先保存到临时目录 再引用

求代码。