[Mono-dev] Unloading an Assembly

vijaya raghava mutharaju m.vijayaraghava at gmail.com
Sat Feb 25 01:19:39 EST 2006


       Hello,

                I have created an AppDomain to load an Assembly, used
Reflection on it and then Unloaded the AppDomain. Is there any Remoting
Issues associated with Unloading of an Assembly. Iam getting exceptions.


              AppDomain newDomain = AppDomain.CreateDomain("NewDoamin");
              Assembly myAssembly = newDomain.Load(
AssemblyName.GetAssemblyName(filename1));

              Later,   AppDomain.Unload(newDomain);
              I have seen some "Remoting" terms in the Stack trace.

              Iam getting the following exception,

               'System.Runtime.Serialization.SerializationException'
occurred in mscorlib.dll

               Additional information: Insufficient state to deserialize the
object.  More information is needed.


       What went wrong ? Please tell me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060225/2ab88ff2/attachment.html 


More information about the Mono-devel-list mailing list