我正在尝试将几个 dll 合并为一个 dll。我正在使用 ILMerge。它工作正常,但是在我添加了新代码和新 dll 之后,它在运行 ILMerge 时给了我一个异常。
图书馆正在合并。只有当我添加在 Visual Studio 中创建的主 dll 时,它才会引发异常。
我收到这样的错误:
An exception occurred during merging:
ILMerge.Merge: The assembly 'YamadaGS1_128' was not merged in correctly.
It is still listed as an external reference in the target assembly.
in ILMerging.ILMerge.Merge()
in ILMerging.ILMerge.Main(String[] args)
我尝试添加/closed选项或更改Assembly Name,但它给出了相同的错误。
我已将 ADODB 代码添加到我的项目中。我不确定,还有没有其他变化。但是在代码修改后,我得到了这样的错误。
凤凰求蛊
相关分类