WPF开发ArcGis系统时的异常信息: ArcGIS product not specified. You must first bind to an ArcGIS version prior to using any ArcGIS components.
“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.
![](https://img2018.cnblogs.com/blog/989972/201809/989972-20180904140647451-1588754487.png)
解决办法:
添加 ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
需添加引用:ESRI.ArcGIS.Version
![](https://img2018.cnblogs.com/blog/989972/201809/989972-20180904140900152-942630448.png)