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

AutoCAD 2019 Add-In's - What's different?

3 REPLIES 3
Reply
Message 1 of 4
ThomasRambach
525 Views, 3 Replies

AutoCAD 2019 Add-In's - What's different?

I have a signed DLL located in: C:\ProgramData\Autodesk\ApplicationPlugins\{AddinName}\ that loads without issues in ACAD2017 after I set the folder as a trustedpath. In 2019, it doesn't load at all? What am I missing?

 

I'm running plain AutoCAD 2019.

 

The PackageContents.xml file looks like this:

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0" ProductCode="{16036D32-8A02-41A3-AC1A-1B336F26DCC2}" Version="1.0.0" Name="{Name}" Description="{Description}" Author={Author}">
	<CompanyDetails Name="{Company}" Url="{Address}/" Email="{Email}"/>
	<Components>
		<RuntimeRequirements OS="Win32|Win64" Platform="LDT|AIP|AIPRS|AIPSIM|Civil|AOEM|AIS|ECSCAD|ACADM|ACADE" SeriesMin="R21.0" SeriesMax="R23.0" SupportPath="./Contents/"/>
		<ComponentEntry AppName="{AppName}" AppDescription="{AppDescription}" ModuleName=".\Contents\{DLLNAME}.dll" LoadOnAutoCADStartup="True"/>
	</Components>
</ApplicationPackage>

 

3 REPLIES 3
Message 2 of 4
_gile
in reply to: ThomasRambach

Hi, Have a look at the SECURELOAD and APPAUTOLOAD sysvars.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 4
ThomasRambach
in reply to: _gile

SECURELOAD = 1 and APPAUTLOAD = 14, I changed APPAUTLOAD to 2 and it still didn't load.
Message 4 of 4

Apparently the format of PackageContents.xml wasn't quite correct.

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

Post to forums  

Autodesk Customer Advisory Groups


Autodesk Design & Make Report