[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Unable to add axDBLib to C# project

Asked by iwtblj247 in C# Programming Language, AutoCAD Software

Tags: c#, visual studio, autocad, autodesk

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=eed84259d7cbf30b' uses 'Autodesk.AutoCAD.Interop.Common, Version=17.1.51.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b' which has a higher version than referenced assembly 'Autodesk.AutoCAD.Interop.Common, Version=16.1.63.0, Culture=neutral, PublicKeyToken=eed84259d7cbf30b'      c:\WINDOWS\assembly\GAC_MSIL\Autodesk.AutoCAD.Interop\17.1.51.0__eed84259d7cbf30b\Autodesk.AutoCAD.Interop.dll      DOUtils"

If I go into C:\WINDOWS\assembly, I have 3 versions of both AutoCAD.Autodesk.Interop and AutoCAD.Autodesk.Interop.Common, 16.1.63.0, 17.1.51.0 and 17.0.54.0
[+][-]10/23/09 08:11 AM, ID: 25645166Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/23/09 09:38 AM, ID: 25646062Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/29/09 08:41 AM, ID: 25694916Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/20/09 07:03 PM, ID: 25876248Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625