WPF开发ArcGis系统时的异常信息: ArcGIS product not specified. You must first bind to an ArcGIS version prior to using any ArcGIS components.

时间:2024-06-23 20:34:14

  “System.Runtime.InteropServices.COMException”类型的未经处理的异常在 Arcgis_Test.exe 中发生

  其他信息: ArcGIS product not specified. You must first bind to an ArcGIS version prior to using any ArcGIS components.

WPF开发ArcGis系统时的异常信息: ArcGIS product not specified.  You must first bind to an ArcGIS version prior to using any ArcGIS components.
解决办法:
添加 ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
需添加引用:ESRI.ArcGIS.Version

WPF开发ArcGis系统时的异常信息: ArcGIS product not specified.  You must first bind to an ArcGIS version prior to using any ArcGIS components.