The error:
Web deployment task failed. (The versions of the .NET Framework Configuration Provider (machineConfig32) are different on the source (4.0) and destination (2.0).
Obviously something is looking at the .NET 2.0 version of a file. What do I do?