Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML variable substitution for applicationSettings #6134

Closed
xingyu217 opened this issue Jan 3, 2018 · 1 comment
Closed

XML variable substitution for applicationSettings #6134

xingyu217 opened this issue Jan 3, 2018 · 1 comment
Assignees
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release

Comments

@xingyu217
Copy link

<applicationSettings>
        <Tools.Instrumentation.Properties.Settings>
            <setting name="LogLevel" serializeAs="String">
                <value>DEBUG</value>
            </setting>
            <setting name="AppName" serializeAs="String">
                <value>MyApp</value>
            </setting>
            <setting name="Port" serializeAs="String">
                <!--value>33333</value-->
                <value>0</value>
            </setting>
        </Tools.Instrumentation.Properties.Settings>
  </applicationSettings>
 <connectionStrings>
    <add name="DefaultConnection" connectionString="Data SourceXXX" providerName="System.Data.SqlClient" />
  </connectionStrings>

Variables:
AppName: UpdatedApp
DefaultConnection: XXX

The XML variable substitution doesn't work for applicationSettings, but works fine for connectionString.
Log:
##[debug]Processing substitution for xml node : applicationSettings
##[debug]Processing substitution for xml node : appSettings
##[debug]Processing substitution for xml node : connectionStrings

So, there isn't the related log after processing applicationSettings, should contains the log like Updating value for key=....

@vincent1173
Copy link
Contributor

#6024
This issue is fixed with the above PR and the fix will be available in upcoming deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: AzureAppService Label to monitor Azure App Service issues Area: Release
Projects
None yet
Development

No branches or pull requests

4 participants