[Mono-dev] Unloading an Assembly

Néstor Salceda nestor.salceda at gmail.com
Sat Feb 25 19:30:24 EST 2006


El sáb, 25-02-2006 a las 11:49 +0530, vijaya raghava mutharaju escribió:
> 
>        Hello,

>        What went wrong ? Please tell me. 

	Hello !

I'm writting a little component framework, and i have to do assembly
unloading.

The component container, must inspect assemblies searching components;
if i load all assemblies and inspect them, there are a lot of assemblies
loaded at AppDomain.CurrentDomain.  Then, i create a new appdomain, and
load assemblies and unload it.

If you want to see some code, checkout de SVN; and look DefaultContainer
and ComponentFinder classes.  Note that ComponentFinder, inherits
MarshalByRef.

For me, the tests works fine.

The URL is the following:
http://forge.novell.com/modules/xfmod/project/?babuines

and the svn:
svn checkout svn+ssh://anonymous@forgesvn1.novell.com/svn/babuines/trunk

Cheers ! And i hope i could help you :)

-- 
Néstor Salceda <nestor.salceda at gmail.com>




More information about the Mono-devel-list mailing list