Hi, I have an application where I need to provide the name of the configuration file as a start up parameter (for example myapp.exe -cMyConfigFile). The application is started as a windows service.
The application uses other assemblies that use the "standard" System.Configuration.ConfigurationManager.AppSettings["MySetting"], to retrieve settings from the config file, and it would be best if I did not need to rewrite those assemblies. So what I need is some kind of method to specify a different application config file, and have the framework read from that file instead of the standard "myapp.exe.config". I have been struggling with this for a while, and any help would be appreciated! Best regards Georg =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com