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 already had SSMS 2014 and this didn't seem to cause any issue with publishing in VS. The issue arose for me later after installing the SQL Server 2014 database engine.
The registry entries referred to by Victor were blank. Reinstalling VS2012 fixed the problem.