nfoTools

T211002c: VS Build Tools Installation

nfoTools tools>T211002>T211002c index.html 0.0.7 2022-06-20
nfotools Visual Studio Build Tools Hard Hat Area

Downloading Build Tools for Visual Studio

Download Build Tools for Visual Studio 2022

The current (VS 2022) Build Tools download is available at visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022

Not finding it? Try step-by-step.

Terms of use are covered on installation of the download. The installed build tools simply have to be used with a provided Command Prompt. If there is concern about that, the free Visual Studio 2022 Community Edition is an alternative that has build tools used the same way.

Running the Downloaded Installer

When the download completes, run (open) the program. (Microsoft Edge example.) Ready to run (Microsoft Edge)

This initiates installation of a Visual Studio Installer that takes over downloading of the build tools.

How was this point reached? More details

Visual Studio Installer

The Visual Studio Installer is announced. This is where the Microsoft Software License Terms can be reviewed.

When does this happen? More details

On continuation, the VS Installer will indicate options for Build Tool features to be installed.

Basic Workload Installer Selection

At the Installer panel of workload choices, choose “Desktop Development with C++” (shown above). The checked Installation details are offered by default. Those are enough for starters.

What are the final steps? Details

Installer Cleanup

When the Installer completes setup of VS 2022 Build Tools, your existing installs are listed. The single VS Installer can be used for multiple Visual Studio setups; in the example VS2019 Build Tools are also present.

Confirming Installation Success

After the Build Tools installation succeeds, the Windows All Programs display under letter “V” will show the Visual Studio Installer. Expanding the Visual Studio 2022 folder reveals the available Command Prompts for operating with the Native Tools in command-line environments.

Windows 10 All Programs Letter V

Click on “x64 Native Tools Command…” to initiate a Build Tools command-line environment.

x64 Environment

At the prompt > type “cl.exe” (shown), and depress “Enter.”

cl.exe confirmed

The C/C++ Optimizing Compiler is identified and its command-line usage summarized. Enter “exit” at the new prompt. Press “ENTER” to close the session.

Installation of the Build Tools is complete. Now to put the tools to work.

Next Steps


Discussion about nfoTools is welcome at the Discussion section. Improvements and removal of defects in this particular documentation can be reported and addressed in the Issues section. There are also relevant projects from time to time.