Here is one of our dev transform sections for web.config:
@@@
<system.identityModel>
</system.identityModel>
@@@
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
@@@
<system.identityModel>
</system.identityModel>
@@@
Please advise.
Hi,
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).
Regards,
Nick
Nick, our transforms are named like so:
Web.Development.config
Web.Internal.config
Web.Production-Foo.config
Web.Production-Bar.config
Do I need to list those individually with Octopus or is there a better way?
Hi - Web.*.config
should be supported here (let us know if you have any trouble with it).
Cheers,
Nick