I have a web.config with 2 transforms - for debug and release.
web.config:
If you want to build with Visual Studio 2010, add the following line to your configuration PropertyGroup in your .csproj:
False
More details here: How to get rid of "$(ReplacableToken...)" in web.config completely