Company      |       Articles & Research      |      Services      |      Software      |      Contact

TFS 2010 – Solving The Imported Project Microsoft.WebApplication.targets Was Not Found Error

I think I have actually seen this error in other versions of TFS besides 2010, but most recently saw it in 2010 deployment. Post-executing build configuration when running a build for something using Web Application projects you might receive the error:

The imported project “C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets” was not found

To solve this issue, just copy the C:\Program Files\MSBuild\Microsoft\Visual Studio\v10.0\WebApplications directory from a development machine to the build machine. Sucks but it works. Seems sporadic why it happens.

share save 171 16 TFS 2010   Solving The Imported Project  Microsoft.WebApplication.targets Was Not Found Error

Related posts:

  1. Considerations When Using TFS for SharePoint And Silverlight Development
  2. Large SharePoint Components with Continuous Integration Cause Time Outs With Automated Builds
  3. TeamBuild – Error – Failure: unknown user name or bad password
  4. Solving SharePoint FullTextSqlQuery Wrong Site Collection Error
  5. Building COM Visible SharePoint Components Caused TFS Build Server Error

2 Comments »

  1. Great information! I’ve been looking for something like this for a while now. Thanks!

    Comment by Timmy — April 28, 2010 @ 9:17 pm

  2. Maestro!!! excelente…. la unica solucion despues de varias horas de web-eo!!! Gracias

    Comment by napilex — February 15, 2012 @ 6:19 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment