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 18.104.22.168 and an indirect reference (through 'ACSMCOMPONENTS18Lib.IAcSmSheetSet.Sync') to version 22.214.171.124. Change the direct reference to use version 126.96.36.199 (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 (188.8.131.52) 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.
Start with some of our most frequented solutions to get help installing your software.