Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The imported project Microsoft.WebApplications.targets was not found

I have this error when configuring continuous integration in TFS server, but found the answer already. Maybe this will help others:

The imported project "C:\Program Files (x86)\    MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\    Microsoft.WebApplications.targets" was not found. 
like image 842
stack247 Avatar asked Aug 30 '11 06:08

stack247


People also ask

Where can I find Microsoft WebApplication targets?

"C:\Users\runneradmin\AppData\Local\Microsoft\dotnet\sdk\5.0. 406\Microsoft\VisualStudio\v15. 0\WebApplications\Microsoft. WebApplication.

What is Microsoft WebApplication targets used for?

targets file. Essentially, this target takes the build output of your web application project and turns it into a web deployment package that can be published to an IIS web server.


1 Answers

You need to either...

  1. Install Visual Studio on your build machine, or
  2. Manually copy the contents of the MSBuild\Visual Studio\v10.0\WebApplications folder to the same location on your build machine.
like image 56
Jim Lamb Avatar answered Sep 25 '22 05:09

Jim Lamb