I am building an Azure Devops Release pipeline and I have a WIX config file in my source code with the following structure
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define Key ="MyValue"?>
</Include>
I would like to replace "MyValue" with "MyNewValue" using the Replace Tokens package (link here)
Following the answer given here.
I have <Include>
as my token prefix and </Include>
as my token suffix. I've added the following pipeline variable:
enter image description here
When I build my pipeline it finds the file correctly, but doesn't find any variables to replace, am I missing something to link the variables step to the pipeline variables?
alternatively I was thinking the '<?' tags could be throwing it off or perhaps it's just not compatible with the WIX xml files?