Microsoft Visual C# 2010 Express
Trying to create first dll in 2013,
referenced acdbmgd and acmgd (as usual, as in previous versions)
then included:
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
but ...
Error in IDE (Visual C#) when entering: [CommandMethod("TEST")]
Error: CommandMethod could not be found .. are you missing a using directive or an assembly reference
???
What did I miss?
Thx.
Kevin.
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
for AutoCAD 2013 you have to reference a third dll by default: AcCoreMgd.dll (to be found in the installation directory of AutoCAD).
HTH, - alfred -
For Reference :
// Called Kerry in my other life.
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper
Can't find what you're looking for? Ask the community or share your knowledge.