背景:
现在项目使用开发框架是.Net Core2.1,属于console app,引用了两个超图平台DLL:SuperMap.Data.dll和SuperMap.Mapping.dll,环境安装了supermap-iobjectsdotnet-9.0.1-15628-65435-all下的Install_x86.bat,环境变量也设置了。
问题:
现在项目启动,抛出一个异常信息:
System.TypeInitializationException:“The type initializer for '<Module>' threw an exception.”
EntryPointNotFoundException: A library name must be specified in a DllImport attribute applied to non-IJW methods.
请问如何解决?是不是不兼容.Net Core框架?
谢谢