I am trying to build VS 2012 solution and getting this error:
C:\build-dir\XXXDEV-JOB1\XXX..Web\XXX.Web.csproj(473,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Looks like VisualStudio v10.0 is not installed on the agent, when I am running it locally it is using Visual Studio v11.0 and everything is fine.
For those seeing this posting for the first time, there is an identical question that is more current here:
Jason | Atlassian