缺少Microsoft.CSharp.Core.targets [英] Microsoft.CSharp.Core.targets missing

查看:459
本文介绍了缺少Microsoft.CSharp.Core.targets的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用构建工具2017在TFS2017 Update 3上构建Web服务项目.出现以下错误

I am building a webservice project on a TFS2017 Update 3 with build tools 2017. I get the following error

C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ MSBuild \ 15.0 \ Bin \ Microsoft.CSharp.CurrentVersion.targets(322,5): 错误MSB4019:导入的项目"C:\ Program Files(x86)\ Microsoft 视觉的 Studio \ 2017 \ Enterprise \ MSBuild \ 15.0 \ Bin \ Roslyn \ Microsoft.CSharp.Core.targets 没找到.确认声明中的路径是 正确,并且文件存在于磁盘上.

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.CSharp.CurrentVersion.targets(322,5): Error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

我需要采取哪些步骤来纠正此错误?

What steps do I need to take to fix this error?

推荐答案

我更新到TFS2018,问题得到解决.

I updated to TFS2018 and the problem got solved.

这篇关于缺少Microsoft.CSharp.Core.targets的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆