Transforming XML files in a subfolder

I’ve got a Nuget package which has a folder called Configuration containing a Settings.xml file and a Settings.QA.transform file. I added this line to the Additional Transforms field of the step:

./Configuration/settings.#{Octopus.Environment.Name}.transform => ./Configuration/settings.xml

However the transform is not executed. I tried removing the initial ./ in both places, and also tried backslashes, to no avail. Is this possible, and if so, what is the syntax?

Hi there

You don’t need the directory on there, if you change it to

settings.#{Octopus.Environment.Name}.transform => settings.xml

It will pick it up and transform it.

Regards

Damian

Great, thanks!