I just got this working without installing VS2010 by following these steps on the build server:
- If .NET Framework 4 isn’t installed, install it
- Install the Web Deployment tool from http://www.iis.net/download/webdeploy
- From the C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0 folder on your dev machine copy the “Web” and “Web Applications” folders to the equivalent directory on your build server.
This seems to work for me