4

我编写了一个利用 2 个 3rd 方 dll 的程序,我想使用 ILMerge 将两个 dll 合并为 1 个可执行文件。
我试过使用命令行:

ilmerge /target:winexe /out:final.exe normal.exe 3rd_party_dll_1.dll 3rd_party_dll_2.dll  

但这会返回此错误:

`Could not load assembly from the location 'C:\Users\...' Skipping and processing trest of arguments. `  

我是否遗漏了什么,或者这些 dll 是否可能无法合并?

4

1 回答 1

6

ILMerge 不适用于开箱即用的本机 dll,但有一种解决方法

于 2010-10-11T22:38:43.600 回答