Xml trnasforms errors

I was trying to use the xml transform and variable replacement feature. By using the xdt:Transform="SetAttributes(user,password,host,port)"
the config file was trnsformed but after that, the variables are not replaced.
Please suggest how to replace the variables ?

Hi,

Thanks for reaching out!

The variable replacement always happens before the transformations, as explained in this doc. So first Octopus replaces the expected values on the “transform” file, and then using the transform methods it adds those values to the actual config file.

Hopefully this clarification will help you get your configs the way you want them.

Best regards,
Dalmiro