The add-in for ArcGIS Pro SDK for .NET 3.3 returns an error when writing XML due to the failure of the CIMObject.WriteXML method.
ArcGIS Pro SDK for .NET
漏洞 ID 编号
BUG-000169806
已提交
August 8, 2024
上次修改时间
August 16, 2024
适用范围
ArcGIS Pro SDK for .NET
找到的版本
3.3
操作系统
Windows OS
操作系统版本
11.0 64 bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
Starting from ArcGIS Pro SDK for .NET 3.0, add-ins should use JSON as the persistence format. XML support was dropped starting from version 3.0. This is documented in the ArcGIS Pro SDK for .NET 3.0 Migration Guide:
https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-3.0-Migration-Guide#arcgiscoredll
The (static) XML methods are still present on the base class for internal purposes. Please use the instance '.ToJson()' method and static 'FromJson()' method for persistence.