Transform Web.config after build with computername

The goal is to run Web.config transformation after build if there is Web.COMPUTERNAME.config file.

Here is sample web.config file

Web.config

<?xml version="1.0" encoding="utf-8"?><configuration><appSettings><addkey="Sample"value="Hello World"/><!-- We are going change this --></appSettings><connectionStrings><addname="Default"connectionString="Data Source=localhost;Initial Catalog=Northwind;Integrated Security=True"providerName="System.Data.SqlClient"/><!-- And this --></connectionStrings><system.web><compilationdebug="true"targetFramework="4.5.2"/><httpRuntimetargetFramework="4.5.2"/></system.web><system.serviceModel><bindings><basicHttpBinding><bindingname="JobsearcherWSSoap"/></basicHttpBinding><customBinding><bindingname="JobsearcherWSSoap12"><textMessageEncodingmessageVersion="Soap12"/><httpTransport/></binding></customBinding></bindings><client><endpointaddress="http://example.com/acme.asmx"binding="basicHttpBinding"bindingConfiguration="AcmeWSSoap"contract="ServiceReferenceSample.AcmeWSSoap"name="AcmeWSSoap"/><!-- And this --></client></system.serviceModel></configuration>