NET Core SDK版本2.2.202的MSBuild失败 [英] MSBuild fails for .NET Core SDK Version 2.2.202

查看:594
本文介绍了NET Core SDK版本2.2.202的MSBuild失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下载并安装Visual Studio 2019 RC后,我无法运行msbuild,并出现以下错误:

After downloading and installing Visual Studio 2019 RC, I cannot run msbuild, and get the following error:

.NET Core SDK的2.2.202版本至少需要MSBuild版本16.0.0. MSBuild的当前可用版本是15.6.82.30579. 将global.json中指定的.NET Core SDK更改为需要当前可用的MSBuild版本的旧版本."

"Version 2.2.202 of the .NET Core SDK requires at least version 16.0.0 of MSBuild. The current available version of MSBuild is 15.6.82.30579. Change the .NET Core SDK specified in global.json to an older version that requires the MSBuild version currently available."

我找不到MSBuild版本16.我在这里找到的唯一版本是: "C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ BuildTools \ MSBuild \ 15.0"

I cannot find MSBuild version 16. The only version I find is this one here: "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0"

推荐答案

Visual Studio更新到支持的最低版本或更高版本应该可以解决此问题.

Updating Visual Studio to the minimum supported version or above should fix this problem.

某些.NET Core版本还包含MSBuild中的修复程序.它们与Visual Studio一起分发.

Some .NET Core versions also include fixes in MSBuild. They are distributed together with Visual Studio.

他们在.NET Core的发行说明中放入了受支持的最低版本.

They put the minimum supported versions in the release notes of .NET Core.

例如:宣布.NET Core 2.2. .NET博客

这篇关于NET Core SDK版本2.2.202的MSBuild失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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