I have an asp.net application with one web.config in the root.
I'd like to have another web.config in the root e.g. custom.web.config.
The web.config one is generated by an external tool and I can't change it; I'd put our custom config settings in the custom.web.config file.
ASP.NET only loads the first web.config by default obviously.
How to configure these so that ASP.NET combines both config files and use both?
I can't put the custom.web.config (named web.config) in a subfolder since in which case only the pages in that subfolders use it.
I thought perhaps there is a way to load both web.config and custom.web.config files at runtime and merge them so that ConfigManager looks at both always.
How would that be possible?
Thanks