Mono C# Debian11

Good morning,
we are developing a project in c # using the “Cryptlex.LexActivator.dll” library under windows using VS2017.

The project is then transferred under debian11 and launched via Mono but we get these errors

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

gpath.c: 115: assertion ‘filename! = NULL’ failed

LexActivator assembly: type: member: (null)

I specify that in the window environment it works perfectly.
I specify that the project before using “Cryptlex.LexActivator.dll” ran perfectly both in windows and under debian via mono.

Hi Matteo,

The Cryptlex.LexActivator.dll file is just a pinvoke wrapper around the C LexActivator library. Just ensure you properly install the nuget package. Just copying the Cryptlex.LexActivator.dll won’t work. The nuget package ensures that correct C LexActivator library is loaded depending on the platform and architecture.

Most probably you seem to have not copied all the libs of LexActivator package hence it fails to load the library on Linux. Try reintsalling the package on Linux in your projects.