nav100
nav100

Reputation: 3133

error MSB4019: Microsoft.WebApplication.targets" was not found

I created a project using Visual Studio 2010 and trying to create the build in TFS 2013. I am getting the following error. Target Framework is 4.0. Why my build server is looking for Visual Studio 12.0 folder? How to change this settings? I appreciate any suggestions.

error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\Microsoft.WebApplication.targets" was not found

Upvotes: 0

Views: 6000

Answers (2)

Suleyman OZ
Suleyman OZ

Reputation: 170

Copy the directory "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0" from development machine to the build machine.

http://howtoscript.blogspot.com.tr/2014/05/error-msb4019-imported-project-cprogram.html?view=magazine

Upvotes: 1

You need to do one of the following:

  1. Change the build configuration to use 2010
  2. Install VS 2013 on the build server.

I would recommend upgrading your visual studio anyway as you are already 2 versions behind with CTP's already available for DEV14,..

Upvotes: 0

Related Questions