ILMerge using 2 third party dll's C++

隐身守侯 提交于 2019-12-07 12:00:57

问题


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.
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?


回答1:


ILMerge doesn't work on native dlls out of the box, but there is a workaround.



来源:https://stackoverflow.com/questions/3910356/ilmerge-using-2-third-party-dlls-c

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!