ColinChang.InteropNet (nuget): The library allows you to work with native libraries with netstandard2.1. Standard approach with the DllImport attribute may be inconvenient if you want to build AnyCPU assembly with MS.NET/Mono support. The Interoptor class can generate implementation of interface with target signatures of native methods.
Keywords: DllImport|linux|runtime|c/c++|library|x64|x86|InteropDotNet