且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是什么原因导致"类型库导入无法转换签名成员"警告?

更新时间:2022-03-25 07:44:20

创建自己的Interop程序是这样的(ActiveDs为例):

Create your own interop assembly like this (ActiveDs for example):

TLBIMP activeds.tlb /out:c:\\temp\\Interop.ActiveDs.dll /静音

tlbimp activeds.tlb /out:c:\temp\Interop.ActiveDs.dll /silent

本参考,而不是ActiveDs和错误dissappear。

Reference this instead of ActiveDs, and the errors dissappear.