[Mono-dev] Calling .NET code from unmanaged C

Jean Carrive jcarrive at ina.fr
Wed Dec 7 07:22:46 EST 2005

I compiled the examples, but at run-time I get this error :
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the '/usr/lib/mono/1.0/mscorlib.dll'

Actually, when I installed Mono as a regular user, it installed itself under
my home directory, and when I installed Mono as root, it installed itself
under /opt/mono/-1.1.10

Did I miss some installation option ?



De : Mikkel Kruse Johnsen [mailto:mikkel at linet.dk] 
Envoyé : mercredi 7 décembre 2005 11:42
À : Jean Carrive
Cc : mono-devel-list at lists.ximian.com
Objet : Re: [Mono-dev] Calling .NET code from unmanaged C

On Wed, 2005-12-07 at 11:35 +0100, Jean Carrive wrote: 


		I am quite new to mono and maybe my question is very

		I am looking for a way to call .NET code from "standard" C
code compiled with gcc and runing on Linux. Does Mono offer a way to do that
? I have tried SWIG but it seems that SWIG just allows to call gcc C code
from C#, and not the other way round. 

		Best regards, 

	Jean Carrive 

	Mono-devel-list mailing list
	Mono-devel-list at lists.ximian.com


Yes it is possible, have a look at


More information about the Mono-devel-list mailing list