Transform files deployment?

We have several .config transform files in our Octopack package. The transforms work great. One thing that isn’t so great is that the transform files themselves are deployed as part of the application. This clutters up the application deployment folder. Is there a way in Octopus to prevent the transform files from being deployed to the application folder?


Good question. We bundle the transforms with the package so that we can run them at deployment time. Unfortunately we don’t always delete them. Most people use a custom PostDeploy.ps1 script that deletes the *.config files that they no longer need (it’s easier for you to determine which files are transforms than us). Hope that helps!