[Mono-list] Embedded Mono, Loading assemblies that also have a .config file

Robert Jordan robertj at gmx.net
Fri Feb 24 17:29:43 UTC 2012


Hi,

On 24.02.2012 18:18, efontana wrote:
> What's the correct way to have it load.  It needs to be loaded such that
> System.ServiceModel.ClientBase
> will resolve the endpoint strings its looking for in the Constructor.

The correct way is to move the configuration into the main assembly's
configuration file.

Neither Mono, nor Mono Embedded nor MS.NET are ever loading the
configuration from arbitrary assemblies *unless* you're creating
a new AppDomain and specify a custom config file.

Robert



More information about the Mono-list mailing list