[Mono-dev] Getting the list of all AppDomains in a process

Jonathan Chambers joncham at gmail.com
Fri Feb 12 10:50:42 EST 2010


IIRC, to supply your own AppDomainManager *your* assembly must be in the GAC
or full trust and in the directory of the running application.

http://msdn.microsoft.com/en-us/library/system.appdomainmanager.aspx

Thanks,
Jonathan

On Fri, Feb 12, 2010 at 10:40 AM, Jonathan Pryor <jonpryor at vt.edu> wrote:

> On Fri, 2010-02-12 at 13:10 +0100, Lionel Cuir wrote:
> > Thank for the quick answer. Alas, the AppDomainManager is not a solution
> for
> > us, as the assembly is not supposed to be in the GAC.
>
> I may be blind, but I don't see how AppDomainManager is a solution, as I
> don't see any APIs that would actually allow AppDomain enumeration.
>
> That said, if AppDomainManager did have an enumeration API, I fail to
> see why it couldn't be used.  "[T]he assembly is not supposed to be in
> the GAC" doesn't make sense to me -- assemblies loaded into an AppDomain
> need not be from the GAC, and there is no requirement that they all be
> from the GAC. (If there was such a requirement, you couldn't have
> unsigned/non-GAC'd assemblies AT ALL.)
>
>  - Jon
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100212/1c4e95f7/attachment.html 


More information about the Mono-devel-list mailing list