I am having a problem being able to set and read values in the app.config file.
Posted on 2006-07-21
I'm using VS 2005, and as far as I can tell, the app.config wizard does nothing. I want to be able to set a number of key/value settings in the config file, however, I cannot *read* in code, anything I set. And I am no longer even sure what code I am supposed to use.
Could someone show me both an app.config file with some key/value pairs, and the code in a class library to read and write to this config file? 500 points for anyone that can show me code that I can see the proper way to read and set the settings in app.config and the code to read and update the settings.
Thank you so much for your help.