Programmatically fetching current Add-In version using ArcGIS Pro SDK

المشرف العام

Administrator
طاقم الإدارة
The version of a custom ArcGIS Pro SDK Add-In is held in the config.daml of the Add-In project:

How do I programmatically access the current version of the Add-In (without reading the xml file directly at runtime using an xmlreader)?

In the Add-In framework for ArcMap using ArcObjects SDK, the Add-In version could be accessed like so:

My.ThisAddIn.VersionHas anyone discovered the ArcGIS Pro SDK way of doing this? I would imagine it's possible but can't find the method or property to retrieve it.

I guess the version number is also held in AssemblyInfo.cs, but i'd rather use the value from config.daml.



أكثر...
 
أعلى