文章目錄
- 問題描述
- 解決方法
問題描述
ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components.
解決方法
打開program.cs,把ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
放到Application.SetCompatibleTextRenderingDefault(false);和Application.Run(new Form1());之間即可,就是:
static void Main(