Civil 3D .NET Plug-in (.bundle) not loading despite valid PackageContents.xml - Civil3D 2026

Civil 3D .NET Plug-in (.bundle) not loading despite valid PackageContents.xml - Civil3D 2026

Michael_gonzalez86NZM
Explorer Explorer
188 Views
0 Replies
Message 1 of 1

Civil 3D .NET Plug-in (.bundle) not loading despite valid PackageContents.xml - Civil3D 2026

Michael_gonzalez86NZM
Explorer
Explorer

Hi all,

 

I’m doing a .NET plug-in for Civil 3D 2026, and I'm trying to load it automatically using a .bundle:

 

Its a tool bar and I want it to load when I open Civil 3D. 

 

PackageContents.xml (cleaned and UTF-8 encoded):

 

C:\Users\<username>\AppData\Roaming\Autodesk\ApplicationPlugins\MyPlugIn.bundle
└── Contents
├── Runtime
│ └── Draw_Profile_By_Cover_Level.dll
└── PackageContents.xml

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage
SchemaVersion="1.0"
AutodeskProduct="AutoCAD"
Name="GMC Tool Bar"
Description="Adds the GMC Tool Bar commands to Civil 3D"
AppVersion="0.0.1"
ProductType="Application"
SupportedLocales="Enu"
AppNameSpace="com.myco.gmc.toolbar"
Author="Michael Gonzalez">

<CompanyDetails
Name="xd"
Url="xd"
Email="xd"/>

<Components>
<ComponentEntry
AppName="GMC Tool Bar"
ModuleName="./Runtime/Draw_Profile_By_Cover_Level.dll"
AppDescription="Server-hosted GMC Tool Bar"
LoadOnAutoCADStartup="True">
<Commands>
<Command Global="PROFCOVER" Local="PROFCOVER" />
<Command Global="FILTEROHDATA" Local="FILTEROHDATA" />
</Commands>
</ComponentEntry>
</Components>
</ApplicationPackage>

 

 

  • Platform target: x64

  • DLL exports [CommandMethod("PROFCOVER")] and [CommandMethod("FILTEROHDATA")] via [assembly: CommandClass(...)]

  • Commands load and run perfectly via NETLOAD

  • Path included as trusted Location
  • SECURELOAD = 1 (and trusted paths include the bundle folder)

  • APPAUTOLOAD = 1

Appautoloader returns this:

 

C:\Users\Michael.Gonzalez\AppData\Roaming\Autodesk\ApplicationPlugins\MyPlugIn.bundle... -
%s...failed.
PackageContents.xml

 

Thanks 

 

0 Likes
189 Views
0 Replies
  • .net
Replies (0)