ApplyTransformations (VSTS task)VSTS/TFS Task for applying transformations on config or xml files. Are these VSTS extensions helping you? DetailsWhen you deploy a Web site or application, you often want some settings in the deployed application's config file to be different from the development config file. For example, you might want to disable debug options and change connection strings so that they point to different databases. With this task you can apply these transformations on .config and .xml files. To get most out of transformations you can combine this task with a tokenizer task. You tokenize all needed configurations in the Web.release.config file and when building the release configuration you let this task transform the original config file. Afterwards when deploying this application through the release pipeline you use the tokenize task to change the configuration values to the ones appropiate for environment you are deploying to. To learn more about transformations see the MSDN website at https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx. This task needs access to the Microsoft.Web.XmlTransform.dll to be able to perform the transform action. Depending on your installation and configuration you might want the provide a different location for the needed dll. Available options
|