I don't think you can. You can only unload an entire AppDomain and all assemblies that are loaded into it.
Jim > -----Original Message----- > From: Steve Johnson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 25, 2002 12:23 PM > 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.