Installed Visual Studio Build Tools but cannot find cl.exe

Kevin GUIMARD 40 Reputation points
2023-10-20T16:42:39.3633333+00:00

Hello,

I installed MSVC v142 - VS 2019 and the C++ SDK from the Visual Studio Installer and I rebooted.

First, for some reason, the installation is named "VS 2022", I don't know whether it's normal.

Anyway, I ran the Developer Command Prompt but cannot find cl.exe. Why?
User's image

User's image

Thanks in advance,
Kevin

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 43,306 Reputation points
    2023-10-26T11:34:43.4333333+00:00

    If you only want to be able to build from the command line you can download the separate Build Tools for VS2019. Navigate to https://visualstudio.microsoft.com/vs/older-downloads/

    Expand the selections for 2019 and you should see this -

    tools2019

    After clicking the Download Button and signing in successfully you should see something like this-

    toolsdown2019


1 additional answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
    2023-10-23T07:28:12.7866667+00:00

    Hello @Kevin GUIMARD ,

    Welcome to Microsoft Q&A forum.

    Please make sure that you have installed the Desktop development with C++ workload(VS Installer > Modify > Workloads).

    User's image

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.