.net4.0 框架使用ArcEngine
某些类可能会出现.net 3.5之前没有的错误:
错误 3 无法嵌入互操作类型“ESRI.ArcGIS.DataSourcesGDB.FileGDBWorkspaceFactoryClass”。请改用适用的接口。
解决方案:
2) The reason you could not compile against .NET 4.0 is because the "Embed Interop Types" property was set to true on the ESRI assembly references. If you change "Embed Interop Types" to false for all the ESRI references in the project, it will build against .NET 4.0.
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。