J
Jack Jiang
I am trying to read a config file of a dll, but when I use
ConfigurationManager.AppSettings["key"]
It refer to the application.exe.config file that I am running. Any one know
how do I force it to read the dll config file instead of the application
config file. I look into
ConfigurationManager.OpenExeConfiguration("filepath"), but could not find
any example how to read the value in AppSetting, most people use this method
to write setting to it, but not the other way around.
Thanks!
ConfigurationManager.AppSettings["key"]
It refer to the application.exe.config file that I am running. Any one know
how do I force it to read the dll config file instead of the application
config file. I look into
ConfigurationManager.OpenExeConfiguration("filepath"), but could not find
any example how to read the value in AppSetting, most people use this method
to write setting to it, but not the other way around.
Thanks!