Thursday, 14 June 2012

Missing webapplication.targets error on a build server

Another quick note for myself about a problem when setting up a new build server, if you come across a problem with an error that looks like this:

‘The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\ WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.’

A quick bit of Googling found this article which resolves the problem, I chose the copy the file to the build machine option – installing VS2010 on a build server seems a little bit like overkill.

No comments: