【发布时间】:2012-08-06 00:52:57
【问题描述】:
我正在使用TlbImp 生成互操作程序集。我的几个类型库引用了一个核心类型库。
当我对First.dll 运行TlbImp 时,我得到Interop.First.dll 和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 不要为引用的程序集生成互操作?
【问题讨论】:
标签: tlbimp