.NET 4 - Could not load Interop.SymBBAuto - Mech 2012 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I originally posted this in the Mechanical discussion group by mistake.
In VB.NET for AutoCAD Mechanical 2012, 64 bit, Windows 7 using Visual Studio 2010 Pro .NET Framework 4.0, I get "Could not load file or assembly 'Interop.SymBBAuto, Version=2.0.0.0, ...". Mechanical is started by running debug. The .dll has been loaded. When I issue the custom command the program halts at the point where the program is calling a sub routine that contains
Dim SymBB As McadSymbolBBMgr = CType(AcadDoc.Application.GetInterfaceObject("SymBBAuto.McadSymbolBBMgr"), McadSymbolBBMgr)
Autodesk SymBBAuto 3.0 TypeLibrary is referenced along with the other necessary libraries.
If I do my work under .NET 3.5 I do not get this error. However, under .NET 3.5 I do not get 'live' debugging.
Is there some issue with SymBBAuto in Mechanical 2012 and .NET Framework 4.0?