Performing a config transform based on multiple config files from multiple nuget packages

Hi,

We have a situation where we have a base framework application that has a pretty standard web.config file.

Various features of the application per deployment are then added by deploying additional code that would exist in a separate nuget package. These additional deployments would need to add their own config items to the framework web.config file (using standard xdt:Transform=“Insert” method).

The problem I have is that the config transforms seem to be within the scope of an individual nuget package deployment. Is there any way of applying multiple transforms to an already deployed config file?

Thanks,

Chris.

Hi Chris,

Thanks for reaching out. There’s no way in Octopus to apply transformations outside of the deployment context (to a file already deployed). You need to make all the transformations before deploying the file.

Best regards,
Dalmiro