I'm trying to load an application with an alternative config file under mono
3.2.3. It appears from the mono-config man page that you can use the
MONO_CONFIG environment variable to specify the path to a config file, but it
still doesn't seem to work. Here is how I'm trying to specify my own c
I realise this is an old post, but I'm trying to do the same thing as you and
was wondering if you came up with a solution?
I've ended up 'solving' this by creating a new AppDomain and setting the
ConfigurationFile property to the config file I want to use. Feels like
overkill to achieve something
The only way I could get this to work was to either create a copy of the .exe
file to match the other config or to create a hard link where the name of the
link matches the other config, link.
For example, if MyExe.exe has MyExe.exe.config
then for my alternate config, named MyExeAlt.exe.config