cannot add a reference .NET

后端 未结 6 1766
独厮守ぢ
独厮守ぢ 2021-02-05 22:50

I have a DLL which I would like to add as a reference to my project, but everytime I try to do it a dialog pops up telling me:

The reference could not be

6条回答
  •  既然无缘
    2021-02-05 23:44

    Possibly the Type Library Importer (Tlbimp.exe) can help. It creates a wrapper .NET dll. The original COM DLL must still be there and must be registered! (Try to register it first, before trying it with TlbImp.)

    If the 64-bit version does not work, set the platform target to x84 in your project build properties.

提交回复
热议问题