Mnl file not loading from bundle on startup

Mnl file not loading from bundle on startup

BrentBurgess1980
Collaborator Collaborator
782 Views
2 Replies
Message 1 of 3

Mnl file not loading from bundle on startup

BrentBurgess1980
Collaborator
Collaborator

I am testing bundles I have created for our office, and I am coming across some issues with the mnl files

 

1 of the bundles, everything loads at startup (dll, lisp, cuix and associated mnl files)

 

the other bundle loads dll, lisp and cuix files but does not load the associated mnl files and commands don't work.

 

If I run APPAUTOLOADER -> RELOAD, it loads the mnl file and the commands work properly.

 

Both bundle PackageContents files have the same syntax/format.

 

Has anybody else come across this? Or have I been looking at it for too long and can't see the forrest from the trees?

 

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="AutoCAD" ProductType="Application" Name="Clients" AppVersion="1.0.0" Description="Clients" ProductCode="{87A401CF-06B7-4F19-960E-924132896287}" UpgradeCode="{31719C23-2E62-41A6-9091-4ADC7E2CC164}" Author="Brent Burgess">
  <CompanyDetails Name="Brent" Phone="" Url="www.google.com" Email="brentburgess1980@gmail.com" />
  <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD|Civil3D|Map|AIS|ADT|ACADM|MEP|ACADE|PNID|Plant3D|Civil|LDT|AutoCAD*" />
  <Components Description="2013 to 2016 Parts">
    <RuntimeRequirements OS="Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R20.1" />
	<ComponentEntry AppName="CAD_CLIENT" Version="1.1" ModuleName="./Contents/Support/Client.cuix" AppDescription="CAD Client Menu" />
	<ComponentEntry AppName="Client" Version="1.0" ModuleName="./Contents/Support/Client.dll" AppDescription="CAD" LoadOnAutoCADStartup="True" LoadOnCommandInvocation="False" LoadOnRequest="True"/>
	<ComponentEntry AppName="Office" Version="1.0" ModuleName="./Contents/Support/Office.dll" AppDescription="CAD" LoadOnAutoCADStartup="True" LoadOnCommandInvocation="False" LoadOnRequest="True"/>
  </Components>
</ApplicationPackage>

 

0 Likes
783 Views
2 Replies
Replies (2)
Message 2 of 3

_gile
Consultant
Consultant

Hi,

 

You can try adding the folder which contains the MNL file to the support paths.

As you set the LoadResons to LoadOnAutoCADStartup, you do not need to specify other ones.

 

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" AutodeskProduct="AutoCAD" ProductType="Application" Name="Clients" AppVersion="1.0.0" Description="Clients" ProductCode="{87A401CF-06B7-4F19-960E-924132896287}" UpgradeCode="{31719C23-2E62-41A6-9091-4ADC7E2CC164}" Author="Brent Burgess">
  <CompanyDetails Name="Brent" Phone="" Url="www.google.com" Email="brentburgess1980@gmail.com" />
  <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SupportPath="./Contents/Support" />
  <Components Description="2013 to 2016 Parts">
    <RuntimeRequirements OS="Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R20.1" />
	<ComponentEntry AppName="CAD_CLIENT" Version="1.1" ModuleName="./Contents/Support/Client.cuix" AppDescription="CAD Client Menu" />
	<ComponentEntry AppName="Client" Version="1.0" ModuleName="./Contents/Support/Client.dll" AppDescription="CAD" LoadOnAutoCADStartup="True" />
	<ComponentEntry AppName="Office" Version="1.0" ModuleName="./Contents/Support/Office.dll" AppDescription="CAD" LoadOnAutoCADStartup="True" />
  </Components>
</ApplicationPackage>

 



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 3

BrentBurgess1980
Collaborator
Collaborator

interestingly, the issue was only occurring in AutoCAD 2014, but does not appear to occur in AutoCAD 2017.

 

Adding the support path worked, but I thought it would have just loaded it regardless.

0 Likes