简体   繁体   English

ILMerge使用2个第三方dll的C ++

[英]ILMerge using 2 third party dll's C++

I have written a program that utilizes 2 3rd party dll's and I want to use ILMerge to merge both dll's into 1 executable. 我编写了一个使用2个第三方dll的程序,我想使用ILMerge将两个dll合并为1个可执行文件。
I have tried using the command line: 我尝试过使用命令行:

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

but this returns this error: 但是这会返回此错误:

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

Am I missing something or is it possible that these dll's cannot be merged? 我错过了什么,或者这些dll可能无法合并?

ILMerge无法在开箱即用的本机dll上运行,但有一种解决方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM