Skip to content

example code does not work with sample config file #1507

Open
@jeremysimmons

Description

@jeremysimmons

the api used, Environment.ExpandEnvironmentVariables(rawXmlString) will only work when the config file has the following <add key="COMPUTERNAME" value="%COMPUTERNAME%" />

Environment.ExpandEnvironmentVariables only expands % delimited tokens.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions