I am getting the following error when I use web deploy from visual studio 2010.
Web deployment task failed. (The type initializer for \'Microsoft.Web.Deployment.DeploymentMa
I had the same problem but installing SQL 2012 and changing the registry didn't fix it. After reinstalling Web Deploy 3.5 on my development machine things got straightened out.