Transform Your Sitecore Config Patches Using Build Targets
A Sitecore config patch that is environment-server-specific will definitely require different versions, therefore, config transformation is necessary to avoid manual modification. Though, by default, transformation is only supported for the Web.config file there are many tools available that will help you achieve this. However, most of them require that your config transforms do not go beyond the limits of your configurations.
Read more