问题描述
当尝试在Visual Studio 2015中进行构建时,缺少以下文件吗?该项目以前是在VS2013中构建的.
When attempting to build in visual studio 2015, the following file is missing? This project was previously being built in VS2013.
推荐答案
程序集已重命名.在CodeTaskFactory MSBuild Task上,将AssemblyFile参数更改为...(在您的错误中,应存在此任务所在的目标文件名)
The assembly has been renamed. Change on the CodeTaskFactory MSBuild Task the AssemblyFile parameter to...(in your error there should be a targets file name where this task resides)
AssemblyFile="C:\Program Files (x86)\MSBuild\14.0\Bin\Microsoft.Build.Tasks.Core.dll"
有些人试图变得聪明,并使用像这样的MSBuild属性.(这不适用于MSBuild 14,但适用于12)...
Chances are someone tried to be clever and use an MSBuild property like this..(which doesn't work for MSBuild 14 but would for 12)...
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v$(MSBuildToolsVersion).dll"
仅供参考...还有一些其他内容,例如Microsoft.Build.Utilities.v12.0.dll
已重命名为Microsoft.Build.Utilities.Core.dll
Just fyi...There are some others as well such as Microsoft.Build.Utilities.v12.0.dll
has been renamed to Microsoft.Build.Utilities.Core.dll
这篇关于无法在Visual Studio 2015中构建,因为找不到"Microsoft.Build.Tasks.v14.0.dll"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!