I followed the instructions listed here http://docs.octopusdeploy.com/display/OD/Configuration+files for running my Web.Release.config transforms when I deploy. The screenshot near the bottom of the page shows marking a config file as ‘Copy if newer’ but the build action is ‘None’. I’ve found that I can only get this to work if the build action is set as ‘Content’ otherwise the Web.Release.config isn’t included in my nuget package. Am I missing a step or should the file me marked as ‘Content’? If is should be content then it leaves an annoying Web.Release.Config file on the destination server as well as the transformed web.config. It would be nice if it cleaned up the transform file automatically. Yea,h I know I could write a powershell script to do that but it would be nice if it did it for me.
Pete