You have multiple CommandMethod attributes, or
LispFunction attributes with the same command
or function name. If the code was working before
in 2006, it is probably because that release of the
API wasn't checking for it, or something changed
internally.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5750420@discussion.autodesk.com...
i have upgraded my code to 2008 from 2006, and i keep getting this error when i netload the file. the code is free of errors in VS 2005, and the 2008 libraries are referenced.
any ideas?
Command: NETLOAD
Cannot load assembly. Error details: Autodesk.AutoCAD.Runtime.Exception:
eDuplicateKey
at Autodesk.AutoCAD.Runtime.Interop.Check(Int32 returnValue)
at AcMgCommandClass.AddCommand(AcMgCommandClass* , ICommandLineCallable ca,
MethodInfo mi)
at
Autodesk.AutoCAD.ApplicationServices.AutoCADApplicationHolder.Initialize(Assembl
y assembly)
at
Autodesk.AutoCAD.ApplicationServices.ExtensionLoader.ProcessAssembly(Assembly
assembly)