[Mono-list] MONO_CONFIG not working
    David Curylo 
    curylod at asme.org
       
    Sun Oct 27 22:50:10 UTC 2013
    
    
  
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 config:
export MONO_CONFIG="/Users/dc/MonoTstng/bin/Debug/Baz.config"; mono MonoTsting.exe
I've also set MONO_LOG_LEVEL=debug and MONO_LOG_MASK=cfg and I see the output 
Mono: Config attempting to parse: '/Users/dc/MonoTstng/bin/Debug/Baz.config'.
but the appSettings I'm setting in Baz.config aren't available to my application.  I've also tried the mono --config option, same result.
Are the MONO_CONFIG environment variable and the mono --config option no longer supported?  Is there some way to get the runtime to load an alternative config file?
Thanks,
Dave
    
    
More information about the Mono-list
mailing list