.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCad 2015 autoLoader not loading dll

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
wowens63
3377 Views, 5 Replies

AutoCad 2015 autoLoader not loading dll

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>

 

5 REPLIES 5
Message 2 of 6
Keith.Brown
in reply to: wowens63

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

 

Message 3 of 6
Keith.Brown
in reply to: Keith.Brown

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

Message 4 of 6
wowens63
in reply to: Keith.Brown

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.

Message 5 of 6
tyronebk
in reply to: wowens63

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
wowens63
in reply to: tyronebk

you are correct my xml file was all messed up.

thanks you the quick lesson.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost