This is an example of using DNNE to invoke a MonoVM runtime.
.NET 7
$ dotnet build
$ dotnet publish --self-contained -r osx-x64
$ make -C consumer
To use Mono, pass -p:UseMonoRuntime=true
to both dotnet
calls
$ ./consumer/consumer
Hello World from CoreCLR!
System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
.NET 6.0.0-rc.2.21470.23
Build with
$ dotnet publish --self-contained -r osx-x64 -p:UseMonoRuntime=true
$ make -C consumer copymono R=/path/to/artifacts/bin/mono/OSX.x64.Release