AutoCad 2015 autoLoader not loading dll

AutoCad 2015 autoLoader not loading dll

Anonymous
Not applicable
3,668 Views
5 Replies
Message 1 of 6

AutoCad 2015 autoLoader not loading dll

Anonymous
Not applicable

I have a (2) .xml files that loads works in Autocad 2012,2013 and 2014 but in 2015 it wont load the dll file,

here are 2 different xml files

the first wont load the dll files

the next one wont load the dll file but it will load the .vlx file.

any help would be great.

please see below

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage 
	SchemaVersion="1.0" 
	ProductCode="{dcdb74ec-bc89-41b2-bfae-dbb36096582f}" 
	AutodeskProduct="AutoCAD" 
	Name="Custom Batch Print" 
	Description="Batch Printing" 
	AppVersion="1.0.0" ProductType="Application">
    <Components>
    <RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|ACADM" SeriesMin="R20.0" SeriesMax="R20.0"/>
    <ComponentEntry AppName="ZaCaBPrint" ModuleName=".\Contents\ZaCaBPrint.dll">
      <Commands GroupName="ZaCa" Global="ZaCaBatchPrint" Local="ZaCa_Print">
      <Command LoadOnAutoCADStartup="False" LoadOnCommandInvocation="True"/>
      </Commands>
    </ComponentEntry>
  </Components>
</ApplicationPackage>

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage 
	SchemaVersion="1.0" 
	ProductCode="{2a3a7d16-39db-48eb-8d73-416ddf8c33a1}" 
	AutodeskProduct="AutoCAD" 
	Name="Custom Tool Box" 
	Description="Tool Box" 
	AppVersion="1.0.0" ProductType="Application">
    <Components>
    <RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|ACADM" SeriesMin="R20.0" SeriesMax="R20.0"/>
    <ComponentEntry AppName="ZaCaToolBox" ModuleName=".\Contents\ZaCaToolBox.dll">
      <Commands GroupName="ZaCa" Global="ZaCaToolBox" Local="ZaCa_ToolBox">
      <Command LoadOnAutoCADStartup="False" LoadOnCommandInvocation="True"/>
      </Commands>
    </ComponentEntry>
  </Components>
  <Components>
    <RuntimeRequirements OS="Win64|Win32" Platform="AutoCAD|ACADM" SeriesMin="R20.0" SeriesMax="R20.0"/>
    <ComponentEntry AppName="ZaCaLispToolBox" ModuleName=".\Contents\ZaCaLispToolBox.VLX">
      <Commands GroupName="ZaCa" Global="ZaCaLispToolBox" Local="ZaCaLispToolBox">
      <Command LoadOnAutoCADStartup="True"  LoadOnCommandInvocation="False"/>
      </Commands>
    </ComponentEntry>
  </Components>
</ApplicationPackage>

 

0 Likes
Accepted solutions (1)
3,669 Views
5 Replies
Replies (5)
Message 2 of 6

Keith.Brown
Advisor
Advisor

Someone had this same issue just a couple of days ago.  You can find their solution at the link below.

 

http://forums.autodesk.com/t5/NET/AutoCAD-2015-Autoloader-Changes/m-p/4919228#M39902

 

0 Likes
Message 3 of 6

Keith.Brown
Advisor
Advisor

Long story short is that in 2015 it appears that you have to have the load on startup set to "true"

0 Likes
Message 4 of 6

Anonymous
Not applicable

thank you for replying,

I read that one and tried it. but no luck, my problem is when i start autocad 2015 I see the message telling me my dll file was loaded the problem is the commands do not show up, if i do netload and pick the dll file everthing works fine.

0 Likes
Message 5 of 6

tyronebk
Collaborator
Collaborator
Accepted solution

Your XMLs are all messed up. I'm not sure if that is a transposing problem or what, but your flags should be in the component entry node, not in the command/commands nodes. See the following example:

<ComponentEntry AppName="PluginManager" ModuleName="./Contents/Windows/2015/PluginManager.dll" AppDescription="." LoadOnCommandInvocation="True" LoadOnRequest="True" >
  <Commands GroupName="CADTOOLS">
    <Command Local="PluginManager" Global="PluginManager" />
  </Commands>
</ComponentEntry>

From your second post, you are saying that the DLL is actually loading? How is it loading if you have set LoadOnCommandInvocation to true, but no commands are available to be called to load the DLL?

Message 6 of 6

Anonymous
Not applicable

you are correct my xml file was all messed up.

thanks you the quick lesson.

0 Likes