From 31ec22d02a043d63d727cea4beec6f742c654385 Mon Sep 17 00:00:00 2001 From: Roshan Shetty <81983276+roshanshetty385@users.noreply.github.com> Date: Fri, 10 Jul 2026 13:28:55 +0530 Subject: [PATCH] Update README for Visual Studio Build Tools 2026 installation path Added documentation for newer Visual Studio Build Tools versions. --- README.md | 72 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 56 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0124562..09a9759 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,58 @@ -# 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 -1. Download Microsoft C++ Build Tools from [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/) -2. Run the installer -3. Get to this screen, click on install -![image](https://user-images.githubusercontent.com/29135514/151630397-a31a450e-b5da-4a01-8568-1b0fac9c1dda.png) -4. Tick the top left C++ build tools, then the boxes on the right would show up. (May differ in versions) !![image](https://user-images.githubusercontent.com/29135514/151630503-d238175e-ea50-4a3b-963d-8c31c465da28.png) -5. Press Install while downloading ![image](https://user-images.githubusercontent.com/29135514/151630625-eea0c784-685e-4e8f-aa67-c47aef7f0d80.png) -6. After everything is installed, **reboot** your computer for it to take an effect. -7. Add MSBuild Tools to your system environment by going to search bar and open *Edit the System Environment Variables*![Untitled](https://user-images.githubusercontent.com/29135514/148818730-4f063261-48c5-4849-8b49-a778fa2ab820.png) -8. Click on Environment Variables
![Untitled](https://user-images.githubusercontent.com/29135514/148818749-8f3b87a4-feb8-4642-b8a5-620e99c0f2a5.png) -9. Double chlick on Path
![Untitled](https://user-images.githubusercontent.com/29135514/148818786-30ef3b24-eaaa-423d-aecc-29359d38630b.png) -10. 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.
![Untitled](https://user-images.githubusercontent.com/29135514/148819086-29e05f2e-9d67-4393-a4da-0f1841f18cdb.png) -11. and you are set! +# How to Install Microsoft Visual C++ Build Tools on Windows +This guide explains how to install Microsoft Visual C++ Build Tools on Windows. These tools are required by many applications and development environments that need a native C++ compiler (for example, Python packages, Node.js modules, and C++ projects). +## Installation Steps + +1. Download **Microsoft Visual C++ Build Tools** from: + https://visualstudio.microsoft.com/visual-cpp-build-tools/ + +2. Run the installer. + +3. When the installer opens, click **Install**. + + ![image](https://user-images.githubusercontent.com/29135514/151630397-a31a450e-b5da-4a01-8568-1b0fac9c1dda.png) + +4. Select **C++ Build Tools** from the top-left. The available components on the right may vary depending on the version of Visual Studio Build Tools you are installing. + + ![image](https://user-images.githubusercontent.com/29135514/151630503-d238175e-ea50-4a3b-963d-8c31c465da28.png) + +5. Click **Install while downloading** (or **Install**, depending on your installer version). + + ![image](https://user-images.githubusercontent.com/29135514/151630625-eea0c784-685e-4e8f-aa67-c47aef7f0d80.png) + +6. Once the installation is complete, **restart your computer**. + +7. Add **MSBuild** to your system **Path** environment variable. + + Open the Windows search menu and search for **Edit the system environment variables**. + + ![Untitled](https://user-images.githubusercontent.com/29135514/148818730-4f063261-48c5-4849-8b49-a778fa2ab820.png) + +8. Click **Environment Variables...** + + ![Untitled](https://user-images.githubusercontent.com/29135514/148818749-8f3b87a4-feb8-4642-b8a5-620e99c0f2a5.png) + +9. Under **System variables**, double-click **Path**. + + ![Untitled](https://user-images.githubusercontent.com/29135514/148818786-30ef3b24-eaaa-423d-aecc-29359d38630b.png) + +10. Click **New** and add the path to your **MSBuild** installation. + + The default installation path depends on the version of Visual Studio Build Tools you installed. + + | Visual Studio Build Tools Version | Default MSBuild Path | + | --------------------------------- | -------------------- | + | 2019 | `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin` | + | 2022 | `C:\Program Files\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin` | + | 2026 | `C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\MSBuild\Current\Bin` | + + > **Note** + > + > - For **Visual Studio Build Tools 2026**, the installation directory is named **18**. This is expected because Microsoft now uses the internal Visual Studio version number instead of the release year for the installation folder. + + To verify that you have the correct path, paste it into File Explorer. If the folder exists and contains the `MSBuild\Current\Bin` directory, it is the correct path to add to your system **Path** environment variable. + + ![Untitled](https://user-images.githubusercontent.com/29135514/148819086-29e05f2e-9d67-4393-a4da-0f1841f18cdb.png) + +11. Click **OK** to save the changes. You are now ready to use Microsoft Visual C++ Build Tools.