[Mono-list] Workaround for AppDomain.Load + Unload problem?

Jörg Rosenkranz joergr@voelcker.com
Thu, 28 Aug 2003 16:58:18 +0200


> If a bug has been closed, but you still can reproduce it with 
> the latest
> cvs, please reopen it.
> 

I cannot reproduce these bugs. The first one is a XSP bug (I don't use
XSP this time). I've tried the test app of the second and it works. 
The error occurs only when you unload the first AppDomain before creating
the second one:

using System;

public class mm
{
  public static void Main (String [] args)
  {
    AppDomain d1, d2;

    d1 = AppDomain.CreateDomain ("d1");
	
    AppDomain.Unload(d1);	// Remove this line to get it working

    d2 = AppDomain.CreateDomain ("d2");
  }
}

So maybe these bugs are related to my one but they are not the same.

Jörg.