[Mono-dev] Unloading an Assembly

Zoltan Varga vargaz at gmail.com
Sun Feb 26 09:42:02 EST 2006


                                      Hi,

  Try creating a simple test case and report it at our bug tracking
system, attaching the
test case.

           Zoltan

On 2/26/06, vijaya raghava mutharaju <m.vijayaraghava at gmail.com> wrote:
>  Hi,
>
>
>      Zoltan - That bug is different. There are similarities. Mine is related
> to communication between different AppDomains.
> My application is as follows:
>
>
>                 1)  Domain1 - Loading an assembly - SampleApplication.exe
>                     From next statement, the current domain starts.
>                      CurrentDomain -  Using Reflection on it to get all the
> Types.
>                        Then Iam doing some processing using Xml files.
> System.Xml.Xpath namespace. Used some classes in it.
>                         Stored some info. in an ArrayList.
>                        The above 4 lines belong to the current domain only
> isn't? So it is communication between different domains. I think the problem
> is here.
>                         Unloaded the AppDomain Domain1.
>
>                 2)   Iam using Mono.Cecil to again access the same assembly
> - SampleApplication.exe and Iam inserting custom attributes into them.
>
>
>                   But even if I comment out the step - 2,  Iam getting the
> same exception. When step - 2 is written as a separate application, it is
> working.
>
>                 Is it possible to have an application structure like I
> described here. Inorder to isolate an assembly - SampleApplication.exe Iam
> trying to load into two separate domains and trying to do inter domain
> communication.
>
>                 What should I do ?
>
>
>             Thank you.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>



More information about the Mono-devel-list mailing list