[Mono-list] How does mono runtime load the assembly ?

Stifu stifu at free.fr
Fri Aug 12 02:45:52 EDT 2011


Hmm, I'm a bit confused. How do you load your app with Mono?
And how/why does it seem even the exe is not loaded?


Happy Swinger wrote:
> 
> Hi I am fairly familiar with .NET but completely new to MONO.
> I have the following newbie basic question. Forgive me please in advance.
> 
> If I have an app called foo.exe which refs some types defined in let's say
> system.data.dll, then when foo.exe is running, you can see the
> system.data.dll is actually dynamically loaded within foo.exe process
> address space. The jit compiler needs to load the type's code and metadata
> - thus the needed assembly is loaded.
> 
> When running foo.exe under mono runtime though, I don't  see
> system.data.dll being loaded, even foo.exe is not loaded, so it seems. How
> does the mono runtime load the IL and metadata of the CLI assemblies ? Why
> is the dll loading scheme not used ? Does this have something to do with
> supporting other OS platforms that do not support dll ?
> 
> Thanks
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/How-does-mono-runtime-load-the-assembly-tp3737571p3738027.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list