24

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. enter image description here

I checked if it's installed and it's contains core tools, mstools and tools v141. enter image description here

3 Answers 3

35

Visual Studio 2015 not detecting v141 (2017) Build tools

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.

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.

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:

enter image description here

0
5

In case you downloaded a project that wrote in VS2017, and your VS is 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.

Most projects which build in VS2017 don't necessarily use new features in its V141 toolset.

0
-1

You have to you the vs2017 cmd prompt and msbuild to target V141

1
  • 2
    this is better off as a comment rather than an answer.
    – CoderUni
    Oct 14, 2020 at 5:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.