Show me the parts of my .config files that I can delete
As projects grow and transition from greenfield to brownfield projects .config files are getting more and more obsolete and dead stuff in them.
Do help me and show me what I delete of this.
Kenny Scelfo commented
Perhaps the items that have been baked into the machine config files for the framework that the project is currently using could be flagged as an alternative, until the editor has a way to know what items the code references. Flagged, not made to be an error, since we could be purposefully overriding some of those settings.
Michael Paterson commented
The solution wouldn't necessarily have to be designer-centric. Even just a little utility that can read the config file inheritance tree and see what is in the web.config file that has the same "base" settings in machine.config/machine web.config....
Not really sure what we can do here. There is not really a way for the editor to know what items you have in config that your code references.