VS开发ArcEngine时的一个异常信息——“ArcGIS version not specified. You must call RuntimeManager.Bind before creating any ArcGIS components.”

问题描述:程序报错“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 on 2014-05-10 20:24  Syvon  阅读(1077)  评论(1编辑  收藏  举报

导航