Reading Another Application App.exe.config file

  • Thread starter Thread starter Amy L.
  • Start date Start date
A

Amy L.

I have a basic console application that uses a app.exe.config file for all
the application settings. The application through several revisions now has
over 100 options that are set in the app.exe.config file. We decided to
create a Windows Application that will configure this file.

Is there any easy way to have have this configuration application read the
other applications app.exe.config file so that the values can be accessed
through "ConfigurationSettings.AppSettings.Get"

Thanks
Amy
 
Presumably your configuration application will need to write the information
back out to the config file, right? If that is the case, then you may not
need to use the build-in config classes. Just read the configuration files
into your application as standard XML and manage it that way.
 
Back
Top