[Mono-dev] Cannot unload appdomain which includes a Visual Basic generated dll

Shawn Schaerer shawn at cogmation.com
Wed Jan 2 15:35:37 EST 2008


I have a problem unloading a appdomain that uses a visual basic dll.

We have a c# application that creates a new appdomain, which loads a  
C# program (from a dll).  This C# dll uses functions from a  
visualbasic dll.

If we don't use (load) functions from the visualbasic dll then we can  
unload the appdomain. Also if we use functions from a different C#  
dll, we can unload the appdomain.

The error we get is:

CannotUnloadAppDomainException: Aborting of threads in domain Domain1  
timed out.
System.AppDomain.Unload (System.AppDomain domain)

Any ideas ?


Shawn Schaerer
Director of Research and Development
Cogmation Robotics Inc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080102/f22a9b4b/attachment.html 

More information about the Mono-devel-list mailing list