I wrote a console application ( app.exe ) that has settings in the configuration file ( app.exe.config ).
I need to run this several times with differnet settings in the configuration file.
The most inconvenient solution I'm using now is to rename both, app1.exe , app1.exe.config , etc., and then schedule a separate task for each application so that it works in the morning.
What I would like to do is have a main configuration that refers to different configs, and then only has one app.exe master.app.exe.config , which then launches app.exe as many times as there are links in the main configuration.
I do not want to do this in code, as I would like to explain to users how to support the configuration file and what it ...
Setting example:
<add key="datstr" value=""/>
Is it possible? Is there a better way?
source share