“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.

 


 

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案