Visual Studio 2015 未检测到 v141 (2017) 构建工具 [英] Visual Studio 2015 not detecting v141 (2017) Build tools

查看:39
本文介绍了Visual Studio 2015 未检测到 v141 (2017) 构建工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有安装了最新 Visual Studio 2015 的 Windows 10 x64.我需要 v141 构建工具,因此我下载并安装了 Visual Studio 2017 C++ 构建工具.无论如何,IDE 仍然在项目设置的平台工具集列表框中仅显示 v140.

I have Windows 10 x64 with installed latest Visual Studio 2015. I needed v141 build tools so I downloaded and installed Visual Studio 2017 C++ Build tools. Anyway the the IDE still showing only v140 in Platform Toolset listbox in project settings.

我检查了它是否已安装,它是否包含核心工具、mstools 和工具 v141.

I checked if it's installed and it's contains core tools, mstools and tools v141.

推荐答案

Visual Studio 2015 未检测到 v141 (2017) 构建工具

Visual Studio 2015 not detecting v141 (2017) Build tools

Platform Toolset V141 来自 Visual Studio 15 2017 而不是 Visual Studio 14 2015.基本上,该软件向后兼容但不向上兼容,因此当您安装了多个版本的构建工具时,最新的一个也可以使用工具集由老年人提供.

Platform Toolset V141 is from Visual Studio 15 2017 not Visual Studio 14 2015. Basically, the software is backward compatible but not upward compatible, so when you have multiple versions of build tools installed, the most recent one can also use the toolsets provided by the older ones.

换句话说,在安装工具集 v141 之后,工具集 v141 会添加到 VS2017 中的可用工具集列表中 - 但不会在其他 VS 中,例如VS2015.因此 v141 将不会显示在项目设置中的 Visual Studio 2015 Platform Toolset 列表框中.

In other words, after installed toolset v141, the toolset v141 is added to that list of available toolsets in VS2017 - but not in the other VS, e.g. VS2015. So the v141 will not shown in Visual Studio 2015 Platform Toolset listbox in project settings.

如果您想使用 v141 构建工具,您可以安装 Visual Studio 2017 并将您的项目更新到 Visual Studio 2017.在这种情况下,您仍然可以在安装 v140 工具集后使用旧的构建工具集 v140:

If you want to use v141 build tools, you could install the Visual Studio 2017 and update your project to Visual Studio 2017. In this case, you can still use the old build toolset v140 after install v140 toolset:

这篇关于Visual Studio 2015 未检测到 v141 (2017) 构建工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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