DirectoryLookupModuleEnumerator Child AppDomain

May 2, 2008 at 11:31 PM
In 4/30/08 Drop, what is the purpose of creating the child AppDomain in DirectoryLookupModuleEnumerator.EnsureModulesDiscovered?
May 3, 2008 at 1:28 AM
Hi Mark

The separate app domain is used so we discover which assemblies contain modules, and then load those in the main app domain. Once you load an assembly, you can't unload it. Now we looked into using the reflect only option so we could use only one domain, however we found that there was still some baggage left around.