<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187396#M75467</link>
    <description>Apparently Autodesk.Autocad.Interop.dll is not enough, Autodesk..Autocad.Interop.Common.dll is needed too. I can create AcadApplication, and get the Documents collection, but attempt to use the Open method of the Documents collection results to compile error saying that I need to reference Autocad.Interop.Common.dll.</description>
    <pubDate>Fri, 22 Feb 2008 21:10:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-02-22T21:10:01Z</dc:date>
    <item>
      <title>Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187392#M75463</link>
      <description>I started a new Windows application C# project in Visual Studio 2005, my intention is to use COM only in this one, not the .NET wrappers. So I added the references like the Autocad 2008 ActiveX and VBA developers guide states:&lt;BR /&gt;
&lt;BR /&gt;
To fully access AutoCAD automation objects from Microsoft Visual Studio® .NET, create references to the following files:&lt;BR /&gt;
•	The AutoCAD 2008 type library, acax17enu.tlb, located at c:\program files\common files\autodesk shared. &lt;BR /&gt;
•	The AutoCAD/ObjectDBX Common 17.0 type library, axdb17enu.tlb, located at c:\program files\common files\autodesk shared.&lt;BR /&gt;
&lt;BR /&gt;
After adding the references I have under project references “AXDBLib”, but it has the yellow warning sign over it. The error list has two lines:&lt;BR /&gt;
&lt;BR /&gt;
Cannot find wrapper assembly for type library "AXDBLib".	&lt;BR /&gt;
&lt;BR /&gt;
The referenced component 'AXDBLib' could not be found. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
So what’s the problem and how to fix it? I can get around the reference error using late binding and referencing nothing, but late binding is kind of unnatural with C#.	&lt;BR /&gt;
&lt;BR /&gt;
Using Visual Studio 2005 and Autocad Architecture 2008.</description>
      <pubDate>Fri, 22 Feb 2008 17:12:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187392#M75463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-22T17:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187393#M75464</link>
      <description>If you have Autocad 2008 installed on the developer's machine, you should have the "Autocad 2008 Type Library" in your list of available com references. Clicking on this reference should link over to Autodesk.Autocad.Interop.dll found in your global assembly cache (GAC).&lt;BR /&gt;
&lt;BR /&gt;
Once this dll is referenced, you should be able to use normal COM procedures to manipulate the Autocad application, provided it is installed/running on the user's machine.</description>
      <pubDate>Fri, 22 Feb 2008 19:14:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187393#M75464</guid>
      <dc:creator>jbooth</dc:creator>
      <dc:date>2008-02-22T19:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187394#M75465</link>
      <description>What the VBA docs say on this doesn't apply to .NET projects.&lt;BR /&gt;
&lt;BR /&gt;
You don't select any files to add the COM interop assemblies, you just select these two items from the COM tab of the Add References dialog:&lt;BR /&gt;
&lt;BR /&gt;
    AutoCAD 2008 Type Library&lt;BR /&gt;
    AutoCAD/ObjectDBX Common 17.0 Type Library&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2008&lt;BR /&gt;
Supporting AutoCAD 2000 through 2008&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
&lt;JANNES&gt; wrote in message news:5856031@discussion.autodesk.com...&lt;BR /&gt;
I started a new Windows application C# project in Visual Studio 2005, my intention is to use COM only in this one, not the .NET wrappers. So I added the references like the Autocad 2008 ActiveX and VBA developers guide states:&lt;BR /&gt;
&lt;BR /&gt;
To fully access AutoCAD automation objects from Microsoft Visual Studio® .NET, create references to the following files:&lt;BR /&gt;
• The AutoCAD 2008 type library, acax17enu.tlb, located at c:\program files\common files\autodesk shared. &lt;BR /&gt;
• The AutoCAD/ObjectDBX Common 17.0 type library, axdb17enu.tlb, located at c:\program files\common files\autodesk shared.&lt;BR /&gt;
&lt;BR /&gt;
After adding the references I have under project references “AXDBLib”, but it has the yellow warning sign over it. The error list has two lines:&lt;BR /&gt;
&lt;BR /&gt;
Cannot find wrapper assembly for type library "AXDBLib". &lt;BR /&gt;
&lt;BR /&gt;
The referenced component 'AXDBLib' could not be found. &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
So what’s the problem and how to fix it? I can get around the reference error using late binding and referencing nothing, but late binding is kind of unnatural with C#. &lt;BR /&gt;
&lt;BR /&gt;
Using Visual Studio 2005 and Autocad Architecture 2008.&lt;/JANNES&gt;</description>
      <pubDate>Fri, 22 Feb 2008 19:51:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187394#M75465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-22T19:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187395#M75466</link>
      <description>I already tried that, but the result is exactly the same as explained in my first post. &lt;BR /&gt;
And in both TLB and COM way the AutoCAD 2008 Type Library reference seems to be OK, only the AutoCAD/ObjectDBX Common 17.0 Type Library fails.</description>
      <pubDate>Fri, 22 Feb 2008 21:08:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187395#M75466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-22T21:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187396#M75467</link>
      <description>Apparently Autodesk.Autocad.Interop.dll is not enough, Autodesk..Autocad.Interop.Common.dll is needed too. I can create AcadApplication, and get the Documents collection, but attempt to use the Open method of the Documents collection results to compile error saying that I need to reference Autocad.Interop.Common.dll.</description>
      <pubDate>Fri, 22 Feb 2008 21:10:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187396#M75467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-22T21:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187397#M75468</link>
      <description>Do you have multiple versions of CAD installed on your computer.  i had some problems with the COM references in my .NET project when i had 2006 and 2007 installed on my machine.&lt;BR /&gt;
perhaps a repair of AutoCAD is in order.&lt;BR /&gt;
-Mark Pendergraft</description>
      <pubDate>Sat, 23 Feb 2008 00:10:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187397#M75468</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-23T00:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187398#M75469</link>
      <description>I had 2007 also, just removed it but the reference problem is still the same. Previously i already uninstalled and re-installed 2008, did'nt help either.</description>
      <pubDate>Sat, 23 Feb 2008 04:58:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187398#M75469</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-23T04:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187399#M75470</link>
      <description>Weird... the only way i could get the reference to work was to copy the DLL for GAC to a normal directory (C:\temp in this case) and add the reference using the browse tab.</description>
      <pubDate>Sat, 29 Mar 2008 18:50:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187399#M75470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-29T18:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187400#M75471</link>
      <description>I have exactly the same problem. At first I installed AutoCAD 2008 and now after installing Inventor this problem occurs. I have two different versions of these DLL and I don't know which onces are the right ones.</description>
      <pubDate>Mon, 09 Jun 2008 13:03:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187400#M75471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-09T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187401#M75472</link>
      <description>Now I solved this problem. I uninstalled AutoCAD 2008 and installed Inventors Mechanical Desktop instead.

Message was edited by: thmsfrst</description>
      <pubDate>Wed, 11 Jun 2008 08:02:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187401#M75472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-11T08:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187402#M75473</link>
      <description>Hi JanneS - I'm having this exact problem.  Did you solve this by installation changes or were you able to figure out a more direct solution?&lt;BR /&gt;
&lt;BR /&gt;
thank you!</description>
      <pubDate>Thu, 10 Jul 2008 14:44:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/2187402#M75473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-10T14:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3369957#M75474</link>
      <description>&lt;P&gt;I know I'm thread dredging* but this post made my night.&amp;nbsp; Autodesk.AutoCAD.Interop referenced fine, but not [yada].common.&amp;nbsp; Used JanneS trick of copying Autodesk.AutoCAD.Interop.Common.dll from GAC to a "normal" folder and now it references ok.&amp;nbsp; I suspect "real" coders would be horrified, but hey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a bunch of Autodesk products (some with&amp;nbsp;varying versions) installed, possibly was the cause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers JanneS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Funny how it's somehow more acceptable to thread dredge if you acknowledge you're doing it&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 01:13:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3369957#M75474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-14T01:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3371051#M75475</link>
      <description>&lt;P&gt;Good work!&amp;nbsp;User forums would&amp;nbsp;have substantially less posts if&amp;nbsp;everyone did.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2012 17:47:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3371051#M75475</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2012-03-14T17:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to reference Autodesk.AutoCAD.Interop.Common.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3373695#M75476</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;JanneS wrote:&lt;BR /&gt;I started a new Windows application C# project in Visual Studio 2005, my intention is to use COM only in this one, not the .NET wrappers. So I added the references like the Autocad 2008 ActiveX and VBA developers guide states:&lt;BR /&gt;&lt;BR /&gt;To fully access AutoCAD automation objects from Microsoft Visual Studio® .NET, create references to the following files:&lt;BR /&gt;• The AutoCAD 2008 type library, acax17enu.tlb, located at c:\program files\common files\autodesk shared.&lt;BR /&gt;• The AutoCAD/ObjectDBX Common 17.0 type library, axdb17enu.tlb, located at c:\program files\common files\autodesk shared.&lt;BR /&gt;&lt;BR /&gt;After adding the references I have under project references “AXDBLib”, but it has the yellow warning sign over it. The error list has two lines:&lt;BR /&gt;&lt;BR /&gt;Cannot find wrapper assembly for type library "AXDBLib".&lt;BR /&gt;&lt;BR /&gt;The referenced component 'AXDBLib' could not be found.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So what’s the problem and how to fix it? I can get around the reference error using late binding and referencing nothing, but late binding is kind of unnatural with C#.&lt;BR /&gt;&lt;BR /&gt;Using Visual Studio 2005 and Autocad Architecture 2008.&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hi JanneS:&lt;/P&gt;&lt;P&gt;i am doing the same thing.but i&amp;nbsp; don't have&amp;nbsp; API using com access to autocad . do you have API?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 16 Mar 2012 08:12:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/unable-to-reference-autodesk-autocad-interop-common-dll/m-p/3373695#M75476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-16T08:12:17Z</dc:date>
    </item>
  </channel>
</rss>

