Making it easier to automate modifications to deployment binding files

Mariusz Borsa with a little tweaking from Erik Leasburg wrote this simple but nevertheless cool little utility that takes:

1. An input xml (e.g. a deployment binding file)

2. An XPath (e.g. //PrimaryTransport/Address)

3. A value (e.g. https://productionwebserver/myurl)

4. An output xml name (e.g. my modified deployment binding file)

and appropriately modifies the information in the input file creating an output file. Why do you care? You care because with it you can automate changes in binding files for nightly build processes (upping the version number in assemblies for example) or as you go from development to production.  Good stuff.