platform attribute is not working on packagecontents.xml

platform attribute is not working on packagecontents.xml

Anonymous
Not applicable
719 Views
1 Reply
Message 1 of 2

platform attribute is not working on packagecontents.xml

Anonymous
Not applicable

I want my plugin to load only on AutoCAD, so i used the attribute "Platform", and set it's value as "AutoCAD", the plugin is still available on other platform like civil 3D. 

here is my packagecontents.xml

 

<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage 
   SchemaVersion="1.0" 
   Name="ACADPlugins"
   Description=""
   AppVersion="1.2" 
   ProductType="Application" 
   SupportedLocales="Enu" 
   Author="yyy" 
   ProductCode="{f93b03ae-3333-11ea-adc1-rrrrrrrr}"
   UpgradeCode="{023724d8-11111-11ea-adc1-eeeeeeee}">
   <CompanyDetails Name="xxxx" Url="https://www.xxxxyyyy.com" Email="ar-d@xxxrrr.com" Phone="" />
   
   <Components>
      <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD" SeriesMin="19" />
      <ComponentEntry AppName="ACADPlugins" 
        Version="1.0.0" 
        ModuleName="./contents/ACADPlugins.dll" 
        AppDescription="2020" 
        LoadOnCommandInvocation="True">
        <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD" SeriesMin="19" />
         </ComponentEntry>
   </Components>     
</ApplicationPackage>

 

 

I want my plugin should only load on AutoCAD, not on other platforms like civil 3D. 

 

Thanks in advance.

Amal.

0 Likes
720 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

When I try to build it for civil3D it works fine 

<RuntimeRequirements OS="Win32|Win64" Platform="Civil3D" SeriesMin="19" />

it is loading only on civil 3D 

0 Likes