How to merge multiple app.config files on runtime in .net? -



How to merge multiple app.config files on runtime in .net? -

with web apps, multiple web.config files merged based on directory hierarchy. there way define custom hierarchy regular windows apps? functionality config file merging exists, don't see why shouldn't possible.

currently hierarchy user.config -> roaming.config -> app.config -> machine.config. , there huge restrictions on can go user.config , roaming.config.

i able have next hierarchy: additional2.config -> additional1config -> app.config -> machine.config, or many config files want, resulting in single configuration object can read from. otherwise, have search each additional config manually.

configsource not plenty me, because additional configuration files contains new config sections.

.net app-config

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -