Thanks, i´m trying make a test, but nothing happens, there is a way to debug or any log , to see if dll is loaded or xml contains error.
I copy my dll to C:\Program Files (x86)\Autodesk\ApplicationPlugins\NPPS.bundle
create .ico
create help.html
Create PackageContents.xml
<?xmlversion="1.0"encoding="utf-8"?>
<ApplicationPackage Schema Version="1.0"
AutodeskProduct="AutoCAD"
Name="NPPS"
Description="An AutoCAD program"
AppVersion="1.0.0"
HelpFile="Help.html"
Author="Kounen"
Icon="favicon.ico">
<Components Description="Runtime parts">
<ComponentEntry
ModuleName="./Lab1_Complete_2016.dll"
PerDocument="true"
LoadOnAutoCADStartup="false"
LoadOnCommandInvocation="true"
AppDescription="This is assembly"
AppName="CommandUI">
<Commands GroupName="CmdGroup1">
<Command Local="RECT-FRAME" Global="RECT-FRAME" />
<Command Local="TRIANG-FRAME" Global="TRIANG-FRAME" />
</Commands>
</ComponentEntry>
</Components>
</ApplicationPackage>
I don´t know if this interfere .
[assembly: CommandClass(typeof(Lab1.CommandUI))]
[assembly: ExtensionApplication(typeof(Lab1.CommandUI))]
namespace Lab1
{
class CommandUI : IExtensionApplication
{
[CommandMethod("RECT-FRAME")]
public void RecTruss()
{.... }
[CommandMethod("TRIANG-FRAME")]
public void TriangleTruss()
{...}