[Mono-list] Re: mono-service
Bradley, Peter
PBradley at uwic.ac.uk
Tue Nov 1 12:02:59 EST 2005
"That property doesn't have to be set, it's something you get for free.
The AppDomain is created and setup presumably by the runtime when your
program launches, and it will automatically pick up the path to your
configuration file, providing it is named the same as your executable,
with ".config" on the end, e.g. "myapplication.exe.config". In this way,
you don't have to hard code any path into the code, that's what makes it
so portable :-)"
If this is right, please ignore my last post. I'll play later.
Thanks.
Peter
More information about the Mono-list
mailing list