Web.Config transforms outside of Microsoft MSBuild?

I created a small function to handle Microsoft’s XML Document Transform in PowerShell. I copied the Microsoft.Web.XmlTransform.dll file from Visual Studio build folder to my script’s path, but you can reference it from the source folder if you’d like. function XmlDocTransform($xml, $xdt) { if (!$xml -or !(Test-Path -path $xml -PathType Leaf)) { throw “File not … Read more