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

查看:34
本文介绍了缺少 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 VisualStudio2017EnterpriseMSBuild15.0BinMicrosoft.CSharp.CurrentVersion.targets(322,5):错误 MSB4019:导入的项目C:Program Files (x86)Microsoft视觉的Studio2017EnterpriseMSBuild15.0BinRoslynMicrosoft.CSharp.Core.targets"没有找到.确认声明中的路径是正确,并且该文件存在于磁盘上.

C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinMicrosoft.CSharp.CurrentVersion.targets(322,5): Error MSB4019: The imported project "C:Program Files (x86)Microsoft Visual Studio2017EnterpriseMSBuild15.0BinRoslynMicrosoft.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天全站免登陆