How to install Visual C ++ Build tools?

I need to install Visual C ++ Build Tools. When I download the installer, I tried to install it, however I was told that I need to remove VS 2015!

How can i solve this? Why do Visual C ++ Build tools tell me that it is necessary to remove the current VS 2015 installation?

+36
visual-c ++ install visual-studio-2015
source share
5 answers

You can check out the announcement of the official release of Visual C ++ Build Tools 2015 , and from this blog we can find out that the build tools are the same C ++ tools that you get with Visual Studio 2015, but they Come in a standalone installer with scripting support that contains only the tools needed to create C ++ projects. Build tools give you the ability to install the necessary tools on your build machines without an IDE that you don't need.

Since these components are the same as those installed when installing Visual Studio 2015 with Update 2, you cannot install Visual Build Tools on a computer that already has Visual Studio 2015 installed. Therefore, it asks you to remove the existing VS 2015 when you tried to install Visual C ++ build tools using a standalone installer. Since you already have VS 2015, you can go to the Control Panel - Programs and Features and right-click on the VS 2015 item and select Modify-Modify, and then select the option for those components that are related to Visual C ++ build tools, for example Visual . C ++, Windows SDK ... then install them. After a successful installation, you can create C ++ projects.

+28
source share

I just stumbled upon this problem while accessing some Python libraries: Microsoft Visual C ++ 14.0 is required. Get it using the "Microsoft Visual C ++ Build Tools". The last link to this is actually here: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019

Hope this helps save others time!

+18
source share

Current Version (2019/03/07) - Build Tools for Visual Studio 2017 . In the online installer, you must specify at least individual components:

  • VC ++ 2017 version xx.x tools
  • Windows SDK for using standard libraries.
+7
source share

You can download the latest build tools from the Visual Studio website: https://www.visualstudio.com/downloads/?q=build+tool#build-tools-for-visual-studio-2017

It worked for me, hope it helps too.

0
source share

I also had a problem, the problem is aggravated by the download link, which now works only for Visual Studio 2017, and installing the package from the download link did nothing for VS2015, although it took 5 GB of space.

I have searched everywhere for how to do this with the Nu Get package manager, and I could not find a solution.

It turns out that this is even easier, all you have to do is right-click the project or solution in the solution explorer from Visual Studio and click "Install Missing Components"

0
source share

All Articles