0
我正在尝试为我的一个引用Microsoft ActiveX数据对象(MDAC 2.8)的项目生成主互操作程序集。通过Visual Studio中的引用对话框添加此库将Interop.ADOR.dll文件添加到解决方案的bin目录中。我在哪里可以找到MS ActiveX数据对象(ADOR)主互操作程序集(PIA)?
然而,当我运行tlbimp.exe是我的错误:
C:\Solution> tlbimp Component.dll /out: My.Interop.Component.dll /keyfile:myKeyFile
.snk /primary
Microsoft (R) .NET Framework Type Library to Assembly Converter 3.5.30729.1
Copyright (C) Microsoft Corporation. All rights reserved.
TlbImp : error TI0000 : System.ApplicationException - Referenced type library 'A
DOR' does not have a primary interop assembly registered.
我无法在网上找到的任何东西,这是奇怪的。有任何想法吗?