我们的项目结构如,
native.dll: - 这包含用c\c ++编写的纯本机代码.这个native.dll使用*def文件公开了一些函数.
Wrapper Library(wrapper.dll compiled with .Net framework v4.0)-为了使用的功能native.dll,一个Wrapper lib(wrapper.dll)
是写在C++\CLI使用:clr\oldsyntax.此包装具有的所有代码Interoperability和Marshalling.
Application(Console App v4.0)直接用于wrapper.dll使用提供的功能native.dll.
现在这个项目需要在.Net Core中运行.这意味着我们将有一个
.Net Core application会reference wrapper.dll,反过来会参考
native.dll.
我知道这不会直接起作用.但问题是.Net Core(CoreCLR)是否支持 C++\CLI(clr\oldsyntax)运行时环境 ?
如果不是,该应用程序可能的解决方案是什么?