C++/CLI Support in .Net Core

前端 未结 4 922
抹茶落季
抹茶落季 2020-12-08 10:16

Our project structure is like,

native.dll :- This contains pure native code written in c\\c++. This native.dll exposes some functions using *def file.<

4条回答
  •  攒了一身酷
    2020-12-08 10:33

    whether .Net Core(CoreCLR) supports C++\CLI (clr\oldsyntax) runtime environment ?

    As far as I know there is no plan to support C++/CLI with .NET Core.

    If no, what can be the possible solutions to this application work ?

    You can (should) provide a C API. Mono e. g. supports P/Invoke and .NET Core also supports P/Invoke (see also this Stack overflow question and this DllMap related ticket).

提交回复
热议问题