What happens when sheet sets get thrown into the mix? I've got AutoCAD 2010 and 2011 installed on the machine, and i've downloaded both the 2010 and 2011 SDK's. When I add a reference to "acsmcomponents18.tlb" in the 2010 SDK, it automatically adds a reference to Autodesk.AutoCAD.Interop.Common due to dependancies, however for some reason it insists on referencing the 2011 version "C:\Windows\assembly\GAC_MSIL\Autodesk.AutoCAD.Int
The project currently contains references to more than one version of Autodesk.AutoCAD.Interop.Common, a direct reference to version 126.96.36.199 and an indirect reference (through 'ACSMCOMPONENTS18Lib.IAcSmSheetSet.Sync') to version 188.8.131.52. Change the direct reference to use version 184.108.40.206 (or higher) of Autodesk.AutoCAD.Interop.Common.
I'm hesitant that if i change the direct reference to the version in the 2011 SDK, the application will no longer run on AutoCAD 2011. Any ideas on how I could get this work on both 2010 and 2011 without compiling different versions (for both 32-bit and 64-bit!). Is this just some problem with the sheet set COM API?
Did you try removing the reference to AXDBLib from your project?
I have a project that uses AcSmComponents18 and I was able
to remove the reference to AXDBLib and compile and run it
AcadXTabs for AutoCAD
Supporting AutoCAD 2000-2011
I would....unfortunately i'm making use of a method that requires a loaded AcadDatabase(ACSMCOMPONENTS18Lib.AcSmSheetSetClass
Quote from ADN
Unfortunately, the AutoCAD 2011 installer does not install the AutoCAD 2010 version (220.127.116.11) of the Autodesk.AutoCAD.Interop.dll. This has already been logged and is supposed to be remedied in the oncoming Update 1 for AutoCAD 2011.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!