.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing assembly reference

2 REPLIES 2
Reply
Message 1 of 3
jesmil
1231 Views, 2 Replies

Missing assembly reference

Hi!

I'm trying to compile a project using adt-com interface in VS2005

I get this error message:
The type or namespace name 'Common' does not exist in the namespace 'Autodesk.AutoCAD.Interop' (are you missing an assembly reference?)

Pointing to this row:
using Autodesk.AutoCAD.Interop.Common;

In the references folder the 'AXDBLib' is marked wtih an warning symbol and when double clicked an error message pops up saying that the project cannot be viewed in object browser because it's unavailable or not built yet.
See the attached picture for more information.

Any ideas how to fix this annoying problem?
2 REPLIES 2
Message 2 of 3
jesmil
in reply to: jesmil

*bump*
Message 3 of 3
afirmation
in reply to: jesmil

I had the same problem, let me remember how i tried to fix it.

you need to include the:
- Autodesk.AutoCAD.Interop.dll which you can find in the path (cause my windows and program files are in E:)
E:\WINDOWS\assembly\GAC_MSIL\Autodesk.AutoCAD.Interop\17.0.54.0__eed84259d7cbf30b\Autodesk.AutoCAD.Interop.dll
- Autodesk.AutoCAD.Interop.Common.dll from
E:\WINDOWS\assembly\GAC_MSIL\Autodesk.AutoCAD.Interop.Common\17.0.54.0__eed84259d7cbf30b\Autodesk.AutoCAD.Interop.Common.dll

If you can't find this exact path try searching for these dlls in the partition where you have installed windows and the program files.


I hope it helps

I think that using these dlls you won't need 'AXDBLib' anymore (at least i didn't)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost