Here is one of our dev transform sections for web.config:
We have a variable defined in the project for ApiVersion. It substituted fine with Octopus 2.3 but after upgrading Octopus 2.4 it ends up un-substituted like this:
Actual Deployed web.config section
Sorry about the hassle - the evaluation order of XML configuration transforms and file substitutions were swapped in the 2.4 release; you should now specify the transform file, rather than the target file, as the substitution target.
(Some more detail/history at: https://github.com/OctopusDeploy/Issues/issues/827).
Nick, our transforms are named like so:
Do I need to list those individually with Octopus or is there a better way?
Web.*.config should be supported here (let us know if you have any trouble with it).