Message 1 of 2
platform attribute is not working on packagecontents.xml

Not applicable
09-27-2020
11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.