[Mono-list] XMLDocument.Load() With Path Fails on Windows

Gonzalo Paniagua Javier gonzalo@ximian.com
03 Jul 2003 12:28:09 +0200


El jue, 03-07-2003 a las 05:50, JD Conley escribió:
> Then I guess I need some assistance in getting my Mono installation to read the machine.config.  Mono is installed to "C:\Program Files\Mono-0.25" (the default).  Whenever I run an executable through the command line, I get the following two messages:
> 
> ** Warning **: cannot find "C:\Program Files\Mono-0.25\etc"\mono\machine.config
> Trying to load app config file...
> 
> The path Mono is looking in for the machine.config is incorrect.  It should be "C:\Program Files\Mono-0.25\etc\mono\machine.config".  (the quotes are in the wrong spot)

That's because MONO_CFG_DIR environment variable (incorrectly) contains
those quotes.

-Gonzalo