[Mono-list] App.Config in Mono

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Apr 18 18:55:43 EDT 2009


On Sat, Apr 18, 2009 at 5:05 PM, Charlie Poole <charlie at nunit.com> wrote:
> Just as with Windows, Mono expects the config to have the
> name of the exe plus '.config' - for example, for the
> xxx.exe, the config is xxx.exe.config.
>
> Visual Studio uses a convention of renaming the App.config
> file correctly and copying it to the output directory.

MonoDevelop does the rename too, as long as it's marked "Copy to
output". I'm not sure if MD 1 does that.

> Depending on how you are creating your exe, you may need
> to do that yourself.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list