We used the ‘Replace appSettings and connectionString entries in any .config files’ setting in Octopus 2.6 to replace our settings in config file. We have one config file (which doesn’t need replacements) which is encrypted, so cannot be parsed as XML. Octopus tries to parse it as regular XML and fails, and with that the whole deployment fails. The only way to circumvent this now is to uncheck the replace app settings and connection strings, but that means we have to explicitly use variables.
It would be great if it would just skip the encrypted file.