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>
Solved! Go to Solution.
Solved by tyronebk. Go to Solution.
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
Long story short is that in 2015 it appears that you have to have the load on startup set to "true"
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.
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?