[Mono-dev] Assembly.GetEntryAssembly() returns null
Miguel de Icaza
miguel at ximian.com
Thu Jul 27 11:16:45 EDT 2006
> I've loaded assembly (compiled in VS.NET) in embedded environment.
> This assembly is supposed to work as a client for web service. However
> this does not work because Assembly.GetEntryAssembly returns null when
> called from managed code. This causes ConfigurationManager to throw
> ArgumentException stating that "exePath must be specified when not
> running inside a stand alone exe".
It sounds like you might be missing some call to initialize the embedded
runtime. I have seen that in the past, but I do not remember what it
More information about the Mono-devel-list