Update appsettings and connectionstrings only in some files


Is it possible to update app settings and connection strings only in some .config files?



Hi Matthew,

Thanks for getting in touch!

You certainly can do this. You can disable the Automatically run configuration transformation files tickbox, and in the Additional transforms field, put
MySpecificFile.transform.config => MySpecificFile.config. This will just apply this transform alone.

We’ve got some pretty comprehensive documentation on config transform - feel free to check out http://docs.octopusdeploy.com/display/OD/Configuration+files#Configurationfiles-AdditionalConfigurationTransforms.

Hope that helps!