Hello,
I’m using the Octopus variable substitution feature on a .config file in my .NET application. The problem is that I am able to use the variable in one instance of the file and it fails to function in a subsequent reference to the same variable. Is there some problem with the key name “TestModeMessage” or am I missing something?
From my log file…
16:51:31 Verbose | Octopus Deploy: Calamari version 4.3.15
16:51:31 Verbose | Environment Information:
16:51:31 Verbose | OperatingSystem: Microsoft Windows NT 6.3.9600.0
16:51:31 Verbose | OsBitVersion: x64
16:51:31 Verbose | Is64BitProcess: True
16:51:31 Verbose | CurrentUser: NT AUTHORITY\SYSTEM
16:51:31 Verbose | MachineName:
16:51:31 Verbose | ProcessorCount: 4
16:51:31 Verbose | CurrentDirectory: D:\Octopus\Work\20190508235131-41232-794
16:51:31 Verbose | TempDirectory: C:\Windows\TEMP
16:51:31 Verbose | HostProcessName: Calamari
16:51:36 Info | Performing variable substitution on ‘d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\externalWCFClient.config’
16:51:36 Info | Performing variable substitution on ‘d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\externalSettings.config’
16:51:36 Info | Performing variable substitution on ‘d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\MobileProxyLoggingConfiguration.xml’
16:51:36 Verbose | Looking for appSettings, applicationSettings, and connectionStrings in any .config files
16:51:36 Info | Updating appSettings, applicationSettings, and connectionStrings in: d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\externalSettings.config
16:51:36 Verbose | Setting ‘TestMode’ = ‘true’
16:51:36 Verbose | Setting ‘TestModeMessage’ = ‘’ *Why is it setting this to an empty string?
16:51:36 Verbose | Setting ‘ISAMUrl’ = 'https://
16:51:36 Info | No matching appSetting, applicationSetting, nor connectionString names were found in: d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\externalWCFClient.config
16:51:36 Info | No matching appSetting, applicationSetting, nor connectionString names were found in: d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\packages.config
16:51:36 Info | No matching appSetting, applicationSetting, nor connectionString names were found in: d:\Octopus\Applications\DEV Mobile\MobileProxy\4.4.2.26\Web.config