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

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

问题描述

我的Windows 10 x64安装了最新的Visual Studio2015.我需要v141生成工具,因此我下载并安装了Visual Studio 2017 C ++生成工具.无论如何,IDE在项目设置的Platform Toolset列表框中仍仅显示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

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

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平台工具集列表框中显示.

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 Studio2017.在这种情况下,安装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天全站免登陆