CLR/.NET bindings for liboni
.
- Open the
clroni.sln
solution in visual studio. - "Running" the solution will compile the library and test program, and then run the test program
Notes (aka please help...)
- I removed the Any CPU build option because I don't understand how to use it properly. Instead, I build two times for each x64 and x86
- Each build type has a post build event in which the liboni.dll (of appropriate architecture) is copied from the Externals folder to the target directory so that it will be included in the nuget package.
Creating the nuget package
nuget pack clroni.csproj -properties Configuration=Release
Mono is an open source .NET implementation.
mcs
is the mono C# compiler.
$ cd clroepcie
$ make
The clroepcie-test directory contains minimal working programs that use this library
Host.exe
: Basic data acquisition loop. Communicate withliboni-test/firmware
or actual hardware.
This will be automatically built when the visual studio solution is built. It can also be built using mono via
$ cd clroni-test
$ make