[Mono-dev] Assembly.GetEntryAssembly() returns null

Robert Jordan robertj at gmx.net
Tue Nov 7 15:40:39 EST 2006


Michał Ziemski wrote:
> But IMHNRBOAIKO (in my humble, not really based on any indepth 
> knwoledge, opinion)
> Assembly.GetEntryAssembly shouldn't be null inside an assembly loaded by 
> mod_mono.

Every ASP.NET application is executed in a separate app domain.
Since ExecuteAssembly is never called on those app domains,
GetExtryAssembly always returns null.

Robert




More information about the Mono-devel-list mailing list