Config Transformation

I have a config file and the following settings in <system.serviceModel> section. However, during deployment all of them are not replaced with the actual values. Is octopus is looking only appSettings or connecitonString sections?

Hey @endashaw.adane,

Thanks for reaching out.

Within your step, are you using .NET Configuration Variables to do your variable substitution? If so, that only does replacement on appSettings, applicationSettings or connectionStrings.

If you have more variables that need to be replaced outside of that, would you be able to use Configure Features and enable Substitute Variables in Templates and use that? You will have to define which file you want variable substitution performed on.

Please let me know what you think.

Thanks,
Jeremy

@jeremy.miller,

Thanks! That helps

Regards,

Endashaw

Hey @endashaw.adane,

You’re very welcome! Thanks for updating me.

Please let me know if you have any troubles with it.

Thanks,
Jeremy

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.