It doesn\'t seem to be possible to change the Build Configuration of Visual Studio 2010 Website Projects (as opposed to Visual Studio Web Applications), and changing the Bui
If you would prefer not to need a Web.Template.config, I used this:
<_tempSourceFile>$([System.IO.Path]::GetTempFileName()) <_tempTransformFile>$([System.IO.Path]::GetTempFileName())
Adapted from an answer here.