TheSwamp

Code Red => .NET => Topic started by: WILL HATCH on March 01, 2018, 04:10:37 PM

Title: Autoloader hell
Post by: WILL HATCH on March 01, 2018, 04:10:37 PM
Hi All,

I've just lost half a day of my life to this issue so I'm sharing my findings here. I've finally been forced to build a .bundle for the autoloader and I found some great looking resources via the whitepaper (http://adndevblog.typepad.com/autocad/2013/01/autodesk-autoloader-white-paper.html) and the PackageContents.xml Format Reference (http://docs.autodesk.com/ACD/2014/ENU/index.html?url=files/GUID-BC76355D-682B-46ED-B9B7-66C95EEF2BD0.htm,topicNumber=d30e484183) and was stuck at a point where I could see the command registered but it couldn't load the dll upon invocation.

Reason being, that AppDescription in the ComponentEntry is REQUIRED and not optional. Adding this bit of info fixed everything.

Cheers