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()); 之间应该就好了
浙公网安备 33010602011771号