Smile & .Net Core Support

The engine.
Post Reply
selcuk
Posts: 1
Joined: Wed May 12, 2021 11:13 am

Smile & .Net Core Support

Post by selcuk »

Hello,

Can we use smile wrapper with .Net Core versions?? As far as I know it is compatible with 4.x versions, however I am planning to prepare my project using Core 5.0, so I wonder is there a way to make use of it within that context. (Actually, my sample project works as an asp.net core project on local server using VS 2019, but I am not sure about a real build over the net.)

Thanks in advance..
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Smile & .Net Core Support

Post by shooltz[BayesFusion] »

Smile.NET is compiled with C++/CLI. The .NET Core support was added to C++/CLI quite recently (VS 2019 version 16.4). We're currently investigating if it is possible to actually build a mixed mode assembly (Smile.NET contains native x86/x64 code) for .NET Core.

Please also note that Microsoft clearly states that C++/CLI .NET Core support is Windows only. Even if we can build Smile.NET for .NET Core, it won't be possible to use this wrapper on Linux or Mac.
Post Reply