- Print
- Comment
- DarkLight
- PDF
Step 3 - Replace Tokens in .config - Build
Article Summary
Share feedback
Thanks for sharing your feedback!
In this task I am using the replace tokens task to configure any config files for use when running the solution for testing. Note that the prefix for any tokens is __ and the suffix is __
A picture of the configuration of this task is below
YAML
The yaml for this task is below
steps:
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
displayName: 'Replace tokens in **/*.config'
inputs:
tokenPrefix: '__'
tokenSuffix: '__'
Was this article helpful?