读书人

C#怎么引用资源内的dll

发布时间: 2012-06-30 17:20:12 作者: rapoo

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
[解决办法]

探讨

引用:

先保存到临时目录 再引用

求代码。

读书人网 >C#

热点推荐