Has the library been compiled successfully as either a static or shared library with .NET 8? While I was able to get a shared library to build on Windows, it would fail on attempting to open the file with the following FileError value:
There were several warnings about reflection being used to compute sizes during marshaling where a compile time alternative is available as well.
This feature would let the C# library be wrapped and used as though it were an opaque C library. Using it as-is is still possible with nethost or some other native hosting layer as long as the machine already has a suitable .NET runtime version already installed.
Has the library been compiled successfully as either a static or shared library with .NET 8? While I was able to get a shared library to build on Windows, it would fail on attempting to open the file with the following
FileError
value:There were several warnings about reflection being used to compute sizes during marshaling where a compile time alternative is available as well.
This feature would let the C# library be wrapped and used as though it were an opaque C library. Using it as-is is still possible with
nethost
or some other native hosting layer as long as the machine already has a suitable .NET runtime version already installed.