This can be used for installing anything that requires C++ compiler on Windows.
- Download Microsoft C++ Build Tools from here
- 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!