I'm in Visual Studio 2005. I'm trying add a reference to the AutoCad/ObjectDBX Common 17.0 type library, but when I do, it shows up with a yellow exclamation mark next to it. If I double click it it says "This project cannot be viewed in the object browser because it is unavailable or not yet built. Please ensure that the project is available and built."
Some additional details. I don't know enough about programming for AutoCAD to know if these are relevant.
I have 2 verisons of AutoCAD installed, 2005 and 2008.
If I add a reference to the AutoCad/ObjectDBX Common 16.0 type library it will add successfully, but when I try to compile, it says "Assembly 'Autodesk.AutoCAD.Interop,
Version=17.1.51.0, Culture=neutral, PublicKeyToken=eed84259d7c
bf30b' uses 'Autodesk.AutoCAD.Interop.
Common, Version=17.1.51.0, Culture=neutral, PublicKeyToken=eed84259d7c
bf30b' which has a higher version than referenced assembly 'Autodesk.AutoCAD.Interop.
Common, Version=16.1.63.0, Culture=neutral, PublicKeyToken=eed84259d7c
bf30b' c:\WINDOWS\assembly\GAC_MS
IL\Autodes
k.AutoCAD.
Interop\17
.1.51.0__e
ed84259d7c
bf30b\Auto
desk.AutoC
AD.Interop
.dll DOUtils"
If I go into C:\WINDOWS\assembly, I have 3 versions of both AutoCAD.Autodesk.Interop and AutoCAD.Autodesk.Interop.C
ommon, 16.1.63.0, 17.1.51.0 and 17.0.54.0