[Mono-list] DLLNotFoundException

Jonathan Gagnon jonathan.gagnon at croesus.com
Fri Nov 30 15:22:23 EST 2007

I just upgraded to the latest mono release ( from, and I get
a DLLNotFoundException for a P/Invoke.  My method is defined with the
following DllImport attribute :
I didn't specify the file extension of the aseembly on purpose because I
want my code to run on .NET/Windows (.dll extension) as well as mono/Linux
(.so extension).  Mono is able to find the file MyAssembly.so, but
mono isn't.  A workaround is to rename the file and remove the .so
Is this an intended change or is this a regression?  Should I file a bug
report for this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071130/dcba2959/attachment.html 

More information about the Mono-list mailing list