我正在嘗試將幾個 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 代碼添加到我的項目中。我不確定,還有沒有其他變化。但是在代碼修改后,我得到了這樣的錯誤。
- 1 回答
- 0 關注
- 555 瀏覽
添加回答
舉報
0/150
提交
取消