ArcObjects10.0引用控件报错

错误如下: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());

 之间。

 

posted @ 2014-03-25 17:26  shunliy  阅读(260)  评论(0编辑  收藏  举报