How to make a derived config the only config?
Posted: Thu Jun 17, 2021 10:33 am
Looks like we made a few mistakes with configurations, now trying to repair the damage. We have the configs "organized" in derived configs now making a plan to go to one part per file we want the one config to be the top level, sole config. So, I try copy of the master config file, delete all the other configs except for the one part that this file will become but I still have it buried under a couple parent configs. I can find no way to undo that, more or less break the derived link to the parent config. I looked in the API, but not finding much. Actually, I'm not even finding a delete config option in the API (IConfiguration or IConfigurationManager)
Anyway I'm starting to think the only way to do this is edit the root config to make it like the one config I want to keep. Any suggestions on how to take a single derived configuration and make it the only configuration in the file?
Thanks.
Anyway I'm starting to think the only way to do this is edit the root config to make it like the one config I want to keep. Any suggestions on how to take a single derived configuration and make it the only configuration in the file?
Thanks.