简体   繁体   English

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

[英]Visual Studio 2015 not detecting v141 (2017) Build tools

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.我有 Windows 10 x64,安装了最新的 Visual Studio 2015。我需要 v141 构建工具,所以我下载并安装了 Visual Studio 2017 C++ 构建工具。 Anyway the the IDE still showing only v140 in Platform Toolset listbox in project settings.无论如何,IDE 在项目设置的平台工具集列表框中仍然只显示 v140。 在此处输入图片说明

I checked if it's installed and it's contains core tools, mstools and tools v141.我检查了它是否已安装并且它包含核心工具、mstools 和 tools v141。 在此处输入图片说明

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

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. Platform Toolset V141 来自 Visual Studio 15 2017 而不是 Visual Studio 14 2015。基本上,该软件向后兼容但不向上兼容,因此当您安装了多个版本的构建工具时,最新的也可以使用由 Visual Studio 14 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, eg VS2015.换句话说,在安装了工具集 v141 之后,工具集 v141 将添加到 VS2017 中的可用工具集列表中 - 但不会在其他 VS(例如 VS2015)中添加。 So the v141 will not shown in Visual Studio 2015 Platform Toolset listbox in project settings.因此 v141 不会显示在项目设置的 Visual Studio 2015 平台工具集列表框中。

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

在此处输入图片说明

In case you downloaded a project that wrote in VS2017, and your VS is 2015.如果你下载了一个用 VS2017 编写的项目,而你的 VS 是 2015。

You don't need to buy a new version of VS, just open solution explorer and right click on properties and then select general from left panel and change the platform toolset form V141 to V140.您不需要购买新版本的 VS,只需打开解决方案资源管理器并右键单击属性,然后从左侧面板中选择常规并将平台工具集从 V141 更改为 V140。

Most projects which build in VS2017 don't necessarily use new features in its V141 toolset.大多数在 VS2017 中构建的项目不一定使用其 V141 工具集中的新功能。

你必须使用 vs2017 cmd 提示符和 msbuild 来定位 V141

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2017:找不到 v142 的构建工具错误,即使平台工具集设置为 v141 - Visual Studio 2017: build tools for v142 cannot be found error, even though Platform Toolset is set to v141 Angular NPM 安装 - 错误 MSB8020:Visual Studio 2017 的构建工具(平台工具集 = 'v141' - Angular NPM Install - error MSB8020: The build tools for Visual Studio 2017 (Platform Toolset = 'v141' Visual Studio 2017 VC ++平台工具集v141比v100慢,为什么? - Visual Studio 2017 VC++ platform toolset v141 slower than v100, why? 找不到 v141 (Platform Toolset = 'v141') 的构建工具 - The build tools for v141 (Platform Toolset = 'v141') cannot be found 在 Visual Studio 2019 中使用 v141 平台工具集构建 C++/CX 项目失败 - Build fails for C++/CX project with v141 platform toolset in Visual Studio 2019 尝试安装 npm 模块 scrypt 时出现“错误 MSB8020:找不到 v141 的构建工具(平台工具集 = 'v141')” - "error MSB8020: The build tools for v141 (Platform Toolset = 'v141') cannot be found" when trying to install npm module scrypt 使用Visual Studio 2017和TFS Build 2015的工具版本 - Tools Version Using Visual Studio 2017 with TFS Build 2015 如何为VC 2017安装v141_xp的构建工具? - How to install build tools for v141_xp for VC 2017? (Visual C ++ v141)按位函数编译错误 - (Visual C++ v141) Bitwise function compiling incorrectly 带cpp生成工具2015的visual studio 2010 - visual studio 2010 with cpp build tools 2015
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM