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

2011 Type Libraries Breaks 2010

20 REPLIES 20
Reply
Message 1 of 21
dhorger
5209 Views, 20 Replies

2011 Type Libraries Breaks 2010

Hi folks,

I recently installed AutoCAD 2011 for testing purposes, and compiled my .dll (with Visual Studio 2005) with 2011 set as the debug external program. However, now my compiled .dll doesn't work with AutoCAD 2010 and I can't seem to set my Type Library and Autodesk.AutoCAD.Interop.Common references back to 2010 versions, since it looks like they were overwritten in the C:\Program Files\Common Files\Autodesk Shared folder. The error message that pops up on 2010 computers is as follows:

Could not load file or assembly 'Autodesk.AutoCAD.Interop, Version=18.1.0.0, Culture=neutral, PublicKeyToken=...' or one of its dependencies. The system cannot find the file specified.

Is there a way to go back and create dll's for 2010 without uninstalling 2011 or using System Restore?
20 REPLIES 20
Message 21 of 21
dreamwtx
in reply to: dhorger

hi,  do you have the api  using the com elements to  secondary development for autocad.


dhorger wrote:
Got it! I was trying to load the COM elements instead of the dll's directly. Loading the dll's worked! Thanks, Norman!


 

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