问题:在vs写好代码后,运行程序,出现
ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components.
解决方案:在program.cs的 Application.SetCompatibleTextRenderingDefault(false);后添加一句ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);