I\'m writing a cross-platform .NET library that uses some unmanaged code. In the static constructor of my class, the platform is detected and the appropriate unmanaged library
Try running it like this from a terminal:
export MONO_LOG_LEVEL=debug export MONO_LOG_MASK=dll mono --debug yourapp.exe
Now every library lookup will be printed to the terminal, so you'll be able to find out what's going wrong.