Windows Tools | How To Install VS Microsoft C++ Build Tools on Windows
This can be used for installing anything that requires C++ compiler on Windows.
Installation steps
-
Download Microsoft C++ Build Tools from here
Build Tools 2019 does not support downloading on the official website. You can use the Baidu Cloud Disk I provided. Here
or Update 2023.09.26
From here (guide for installing VS build tools in a Docker container), I found that you can download:
-
Run the installer
-
Get to this screen, click on install
-
Tick the top left C++ build tools, then the boxes on the right would show up. (May differ in versions) !
-
Press Install while downloading
-
After everything is installed, reboot your computer for it to take an effect.
-
Add MSBuild Tools to your system environment by going to search bar and open Edit the System Environment Variables
-
Click on Environment Variables
-
Double chlick on Path
-
Press New and paste this line: (or version/location u installed your MVS BuildTools at)
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin
simple way to check if this is the right path is paste this file path and check if the location exists in your file explorer.
-
and you are set!