/PInvokeNetCore

Simple examle of using PInovoke in .Net Core

Primary LanguageC#MIT LicenseMIT

PInvokeNetCore

Simple examle of using PInovoke in .Net Core

Building C++ part

Go to cpp folder and execute make

Building C# part

Download .NET Core SDK

Linux

macOS

And then run (ubuntu example)

dotnet build --runtime ubuntu.16.04-x64 -c Release

Running binary

Go to Release folder and copy C++ library object there and then run the binary