I know I'm thread dredging* but this post made my night. Autodesk.AutoCAD.Interop referenced fine, but not [yada].common. Used JanneS trick of copying Autodesk.AutoCAD.Interop.Common.dll from GAC to a "normal" folder and now it references ok. I suspect "real" coders would be horrified, but hey.
I've got a bunch of Autodesk products (some with varying versions) installed, possibly was the cause.
* Funny how it's somehow more acceptable to thread dredge if you acknowledge you're doing it :)
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:
To fully access AutoCAD automation objects from Microsoft Visual Studio® .NET, create references to the following files:
• The AutoCAD 2008 type library, acax17enu.tlb, located at c:\program files\common files\autodesk shared.
• The AutoCAD/ObjectDBX Common 17.0 type library, axdb17enu.tlb, located at c:\program files\common files\autodesk shared.
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:
Cannot find wrapper assembly for type library "AXDBLib".
The referenced component 'AXDBLib' could not be found.
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#.
Using Visual Studio 2005 and Autocad Architecture 2008.
i am doing the same thing.but i don't have API using com access to autocad . do you have API?
Search the Autodesk Knowledge Network for more content.
New: Get an Activation Code
Mac OS X 10.12 Support
Windows 10 Support
Autodesk Online Store Help
Serial Numbers & Product Keys
Installation & Licensing
Online Activation & Registration
Network License Administration