ESRI.Arcgis.esrisystem.AoInitializeClass编译错误解决方法

在VS2010中使用ESRI出现的问题

在利用arcengine开发wpf项目时遇到编译错误:

ESRI.Arcgis.esrisystem.AoInitializeClass has no constructors defined...

Interop type 'ESRI.Arcgis.esrisystem.AoInitializeClass' cannot be embedded. Use the applicable interface instead...

解决:

在Reference中,ESRI.Arcgis.esrisystem右键属性,Embed Interop Type设置为False

原文地址:https://www.cnblogs.com/adodo1/p/4327390.html