Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to develop an application for autocad.

i am using the following namespaces :

C#
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Autodesk.AutoCAD;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.ComponentModel;
using Autodesk.AutoCAD.Customization;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.GraphicsInterface;
using Autodesk.AutoCAD.GraphicsSystem;
using Autodesk.AutoCAD.LayerManager;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.DataExtraction;
using Autodesk.AutoCAD.DatabaseServices;

Among these namespaces, if i add a ACDX.dll, intellisense is able to detect the Autodesk.AutoCAD.DataExtraction namespace and if i debug the solution then i am not able to see acdx.dll in my refrences tab and even the namespace Autodesk.AutoCAD.DataExtraction is throwing an error saying that  "The type or namespace name 'DataExtraction' does not exist in the namespace 'Autodesk.AutoCAD' (are you missing an assembly reference?)"	


I have the following references added in my project:
ac32bitappserver.dll
AcCoreMgd.dll
AcCui.dll
AcDbMgd.dll
acdbmgdbrep.dll
AcDx.dll
AcMgd.dll
acmnuparser.dll
AcMr.dll
AcTcMgd.dll
AcWindows.dll
AdWindows.dll
managedmc3.dll

Can u please help me out in resolving this issue.

Thanks you!
Posted
Updated 7-Aug-14 6:08am
v3
Comments
Sergey Alexandrovich Kryukov 7-Aug-14 14:25pm    
How all references can be DLLs? Or did you list just the part of them? How about project references and GAC references? Anyway, "vanished" reference sounds more than weird. Perhaps, double-check it, slowly... :-)
—SA
Member 10905252 8-Aug-14 0:08am    
Do i need to add any GAC references to use ACDX.dll??
Sergey Alexandrovich Kryukov 8-Aug-14 0:41am    
You need a GAC reference if you use an assembly which as registered as a member of GAC. :-)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900