简体   繁体   English

错误MSB4019:找不到Microsoft.WebApplication.targets

[英]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. 我使用Visual Studio 2010创建了一个项目,并尝试在TFS 2013中创建内部版本。出现以下错误。 Target Framework is 4.0. 目标框架是4.0。 Why my build server is looking for Visual Studio 12.0 folder? 为什么我的构建服务器正在寻找Visual Studio 12.0文件夹? 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

Copy the directory "C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0" from development machine to the build machine. 将目录“ C:\\ Program Files(x86)\\ MSBuild \\ Microsoft \\ VisualStudio \\ v12.0”从开发计算机复制到构建计算机。

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

You need to do one of the following: 您需要执行以下操作之一:

  1. Change the build configuration to use 2010 将生成配置更改为使用2010
  2. Install VS 2013 on the build server. 在生成服务器上安装VS 2013。

I would recommend upgrading your visual studio anyway as you are already 2 versions behind with CTP's already available for DEV14,.. 我仍建议您升级Visual Studio,因为您已经落后2个版本,而DEV14已有CTP。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当文件实际引用v10时,找不到v11.0 \ WebApplications \ Microsoft.WebApplication.targets - v11.0\WebApplications\Microsoft.WebApplication.targets was not found when file actually references v10 找不到导入的项目“ C:\\ Program Files(x86)\\ MSBuild \\ Microsoft \\ VisualStudio \\ v10.0 \\ WebApplications \\ Microsoft.WebApplication.targets” - The imported project “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets” was not found Microsoft.WebApplication.targets导入在VS 2010 Web应用程序项目中的作用是什么? - What does the Microsoft.WebApplication.targets import do in VS 2010 web application projects? Microsoft.Common.targets中的错误MSB4057 - Error MSB4057 in Microsoft.Common.targets 错误MSB4036:找不到“输出”任务 - Error MSB4036: The “Output” task was not found Silverlight 4:没有找到解决Microsoft.Silverlight.CSharp.targets的问题? - Silverlight 4: Resolving Microsoft.Silverlight.CSharp.targets was not found? 找不到导入的项目“ c:\\ Windows \\ Microsoft.NET \\ Framework \\ v4.0.30319 \\ Microsoft.VisualBasic.targets” - The imported project “c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.VisualBasic.targets” was not found MSB 构建错误 - MSB building error 找不到导入的项目“ c:\\ program> files \\ msbuild \\ microsoft \\ visualstudio \\ v10.0 \\ windows azure> tools \\ 1.6 \\ microsoft.windowsAzure.targets” - the imported project “c:\program > files\msbuild\microsoft\visualstudio\v10.0\windows azure > tools\1.6\microsoft.windowsAzure.targets” was not found Microsoft.Cpp.Win32.Targets(62,5):错误:缺少必需的文件“” - Microsoft.Cpp.Win32.Targets(62,5): error : Required file “” is missing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM