Install Platform Toolset v120 in Visual Studio 2015

With Visual Studio 2015 trying to create a C / C ++ project that requires Platform Toolsets v120 .
Necessary tools for the platform are not filled:

enter image description here

From https://stackoverflow.com/a/3606168/118, it sounds as if it cannot be done without installing Visual Studio 2013 on the same system. It's true?

If so, what is the use of build tools hosted by Microsoft?

+4
visual-c ++ visual-studio visual-studio-2013 visual-studio-2015 msbuild
Jun 09 '16 at 8:57
source share
2 answers

The build tool page says that the build tool is for VB / C # only.

"Build Tools 2013 provides the tools you need to create managed applications.

The v120 MSBuild folder (C: \ Program Files (x86) \ MSBuild \ 12.0 \ Bin) contains the VB / C # compiler (vbc.exe, csc.exe), but it does not contain the C ++ compiler (cl.exe).

Cl.exe is located in the folder "C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ VC \ bin \".

+5
Jun. 09 '16 at 9:46 on
source share

Your project refers to Visual Studio 2010 as a set of tools, but VS 2010 is not installed on your computer. You need to install VS 2010 (and not VS2013) on your computer.

Why don't you just compile it on VS 2015? For previous versions of Windows, just use the Windows XP toolkit.

+1
Jun 09 '16 at 18:28
source share



All Articles