Missing com?

Missing com?

jokiller70
Advocate Advocate
774 Views
2 Replies
Message 1 of 3

Missing com?

jokiller70
Advocate
Advocate

If my visual studio acts like this what am I missing?

 

Skärmklipp 2015-08-21 12.43.07.png

0 Likes
Accepted solutions (1)
775 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Let your cursor on the little red rectangle, Visual Studio should purpose you some ways to fix this.

 

Nothing to do with COM,

- Document class defined in Autodesk.AutoCAD.ApplicationServices namespace from AcMgd.dll or AcCoreMgd.dll

- Editor class is defined in Autodesk.AutoCAD.EditorInput namespace from AcMgd.dll or AcCoreMgd.dll

- Transaction class is defined in Autodesk.AutoCAD.DatabaseServices namespace from AcDbMgd.dll

You have to reference these DLLs (AcCoreMgd.dll only for AutoCAD 2013+) and import these namespaces.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

augusto.goncalves
Alumni
Alumni
Also check if the .NET version that you have on this project is compatible with AutoCAD .NET references.
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes