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

Setting up AutoCAD plugin development in Visual Studio 2013

1 REPLY 1
SOLVED
Reply
Message 1 of 2
nickg_Clearspan
597 Views, 1 Reply

Setting up AutoCAD plugin development in Visual Studio 2013

I'm trying to continue working on my plugins for AutoCAD in Visual Studio 2013. I opened up my project files and all the references to Autodesk libraries were missing. To remedy this, I added references to the following dll files from ObjectARX 2015 shown in the dlls image attached. I am using the following Autodesk namespaces:

 

 

using Autodesk.AutoCAD.ApplicationServices;

using Autodesk.AutoCAD.DatabaseServices;

using Autodesk.AutoCAD.EditorInput;

using Autodesk.AutoCAD.Geometry;

using Autodesk.AutoCAD.Runtime;

 

Adding the missing references makes the errors go away until I try to test my program at which point I get new errors underlining Autodesk references in gray instead of red as shown in the attached image. I have no idea why the added references are not working. It may also be worth knowing I've migrated from Visual Studio 2012 to Visual Studio 2013 and AutoCAD 2014 to AutoCAD 2015

1 REPLY 1
Message 2 of 2

Since you are working with AutoCAD 2015, you need to set the VS2013 project to target .NET Framework 4.5x

 

Norman Yuan

Drive CAD With Code

EESignature

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