Visual Studio Team Services Build and Release extension that applies XDT transforms on XML files.
Add a new task, select XDT Transform from the Utility category and configure it as needed.
Parameters include:
Syntax: {xdt path} => {xml path}[ => {output path}]
web.release.config => web.config
will apply web.release.config to web.config and update the file.xdt\web.release.config => config\web.config => web.config
will apply xdt\web.release.config to config\web.config and save the result in web.config.Wildcard support
*.release.config => *.config
will apply all {filename}.release.config files to {filename}.config and update the file.*.release.config => config\*.config => c:\tmp\*.config
will apply all {filename}.release.config files to config\{filename}.config and save the result in c:\tmp\{filename}.config.Transform pattern must start with *
Transform file search is recursive
Relative paths for source pattern and output pattern are relative to the transform file path.
You can use the XDT transform task to inject tokens in your XML based configuration files configured for local development and then use the Replace Tokens task to replace those tokens with variable values:
You can set the variable system.debug
to true
to enable the debug logging on the task to help you investigate unexpected behavior of the task.
If you cannot fix your issue, open an issue on the github repo and i'll help you :)
New in 3.1.0
New in 3.0.0
New in 2.1.0
New in 2.0.0
{xdt path} => {xml path}[ => {output path}]
.New in 1.0.0