accessing application settings from a .NET console app
Posted on 2008-10-08
I am looking for a way to read a config file for a .NET console app. I keep finding info for ASP .NET apps.
My goal is to have an app.config file associated with the .exe so that once deployed the system admin can set app flags by merely editing the xml file.
System admin types usually dont want to fire up Visual Studio to change app settings.
Additionally, I cannot even seem to access the settings in the settings.settings file the My.Settings object doesnt seem to exist for C# programs.
Thanks for any help or pointers you can give me.