.net - Moving app.config file to a custom location -
my application service application, , needs load set of configuration user can change. using system.configuration classes set app.config file, , going give user option of editing file change configuration.
can move file custom directory, c:\settings\app.config? or forced reside in app directory?
thank you
take @ link:
how read app.config custom location, i.e. database in .net
this answer in particular:
what using: system.configuration.configurationmanager.openexeconfiguration(string exepath) should let open arbitrary app.config file.
Comments
Post a Comment