Error_1_error MSB8020:找不到v141(Platform Toolset ='v141')的构建工具。要使用v141构建工具进行构建,请安装v141构建工具。或者,您可以通过选择项目来升级到当前的Visual Studio工具 [英] Error_1_error MSB8020: The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v141 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project

查看:885
本文介绍了Error_1_error MSB8020:找不到v141(Platform Toolset ='v141')的构建工具。要使用v141构建工具进行构建,请安装v141构建工具。或者,您可以通过选择项目来升级到当前的Visual Studio工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,

Hello Friends,

我正在尝试在VS 2013中运行项目的框架代码。我有两个VS 2017年和我的笔记本电脑上的VS 2013。但由于代码与2013版本兼容,我下载了该版本。它们都是社区版本。从技术上讲,我不应该面对代码中的任何
问题,但是错误正在显示。

I am trying to run the skeleton code of a project in VS 2013. I have both VS 2017 and VS 2013 on my laptop. But since the code is compatible with 2013 Version I downloaded that version. Both of them are community versions. Technically I shouldn't face any issues with the code, but the error is being shown.

请帮助。

谢谢,

Priscilla

Priscilla

推荐答案

嗨Priscilla,

Hi Priscilla,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

虽然代码与VS 2013兼容,但您无法在此VS版本中使用构建工具V141,请参阅类似的问题  ;
无法在Visual Studio中使用构建工具v141 2015年

Although the code is compatible with VS 2013, you could not use build tools V141 in this VS version, please refer to a similar issue as  can not use build tools v141 in Visual Studio 2015.

这是因为Visual Studio 2013无法识别v141。基本上,该软件是向后兼容的,但不向上兼容。
所以当你安装了多个版本的构建工具时,VS的 高版本可以使用低版本的构建工具但是, l ow
版本的VS无法使用高级构建工具
。这就是你得到那个错误的原因。

That because v141 is not recognized by Visual Studio 2013. Basically, the software is backward-compatible but not upward-compatible. so when you have multiple versions of build tools installed, the high version of VS can use a low version of the build tool, however, the low version of VS could not use high-level build tool. That the reason why you get that error.

为了 使用v141构建工具,你 可以使用VS 2017来更新您的项目。

此外,如果您仍想使用VS 2013构建项目,则必须将脚本更新为Visual Studio 2013,仅将源代码复制到VS 2013并重新编译。

Besides, if you still want to build your project with VS 2013, you have to update your scripts to Visual Studio 2013, only copy the source code to VS 2013 and re-compile.

最好的问候,


这篇关于Error_1_error MSB8020:找不到v141(Platform Toolset ='v141')的构建工具。要使用v141构建工具进行构建,请安装v141构建工具。或者,您可以通过选择项目来升级到当前的Visual Studio工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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