The only way to unload an Assembly is to unload the AppDomain in which the
Assembly resides.  The initial AppDomain can't be unloaded except by
terminating your process (or having your host unload it).

> -----Original Message-----
> From: Steve Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 25, 2002 11:23 AM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Can I force a given Assembly to be unloaded?
>
>
> Subject pretty much says it all.
>
> I've tried setting all references to anything in the assembly
> to null and then GC.Collect(), but the assembly won't unload.
>
> Thanks,
>
> --
> Steve Johnson
> 3t Systems
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to