XDT (XML Document Transform) released on codeplex.com
In Visual Studio 2010 we introduced a simple and straight forward method of transforming web.config during publishing/packaging. This support is called XML Document Transform, aka XDT. It allows you to transform any XML file, not just web.config. To learn more about XDT check out the docs.
Since we’ve released XDT there has been interest in re-using the transformation engine in other scenarios. To enable some of those scenarios we released XDT on NuGet. After that we started working on integrating XDT into NuGet and asked for some feedback from the community.
There are a few community projects which are already using XDT. Below you can see a few examples.
This library also contains a custom XDT transform, AttributeRegexReplace. If you are interested in creating your own custom transforms read Sayed’s blog post – Extending XML (web.config) Transformations.
Web Config Transform Runner
Config Transformation Tool
Config Transformation Tool is a command line tool to invoke XDT. Using this tool you can execute transforms from any command prompt, and also automate transforms in scripts.
If you create a project using XDT we’d love to hear from you in the comments section below.