B
Bob
Hello,
I have a console app and would like it to pick up some settings from the
application config file....
Can anybody give me the basic rundown on the simplest way to achieve this...
the MSDN stuff for this is really quite vague and does not seem to work when
I do it the MS way in my code.
Anyway, say I have my app.exe.config file with a setting called DebugMode
and a value of "true". No matter how I use the system.configuration methods
I can't retrieve the value...
For starters I need to know... do I create the app.exe.config file in the
bin folder (where file keeps getting deleted) or in same folder as my
solution (if here, should it be called app.config)?
Anybody care to enlighten me?
Cheers
I have a console app and would like it to pick up some settings from the
application config file....
Can anybody give me the basic rundown on the simplest way to achieve this...
the MSDN stuff for this is really quite vague and does not seem to work when
I do it the MS way in my code.
Anyway, say I have my app.exe.config file with a setting called DebugMode
and a value of "true". No matter how I use the system.configuration methods
I can't retrieve the value...
For starters I need to know... do I create the app.exe.config file in the
bin folder (where file keeps getting deleted) or in same folder as my
solution (if here, should it be called app.config)?
Anybody care to enlighten me?
Cheers