我编写了一个利用 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 是否可能无法合并?