我正在使用TlbImp. 我的几个类型库引用了一个单一的核心类型库。
当我TlbImp对抗时,First.dll我得到Interop.First.dlland Interop.Core.dll。问题是当我再次运行它时,反对Second.dll,TlbImp尝试Interop.Core.dll再次生成,导致错误:
TlbImp : error TI0000 : System.ApplicationException - The assembly for referenced
type library, 'Core', will not be imported since it would overwrite existing file
'Core.dll'.
如何告诉TlbImp不要为引用的程序集生成互操作?