ClangCL and LLVM not installed

Iliya's Avatar


01 Jul, 2020 08:54 AM

I encountered with such error during compilation, used VS 2017 build image:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for ClangCL (Platform Toolset = 'ClangCL') cannot be found. To build using the ClangCL build tools, please install ClangCL build tools.

I tried to switch to Visual Studio 2019 worker image, and I have got another error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(390,5): error MSB8020: The build tools for llvm (Platform Toolset = 'llvm') cannot be found. To build using the llvm build tools, please install llvm build tools.
What should I do additionally for using clangcl and llvm? Some day ago I compiled project without any issues, now when you're choosing recompile succeeded build - it fails.

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Jul, 2020 08:32 PM

    Feodor Fitsner's Avatar

    Hi Iliya,

    LLVM extension is getting installed on VS 2019 image with the following script:

    I don't know maybe there is something else missing on the image? Could you please take a look via RDP and let us know?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

02 Jul, 2020 03:24 PM
01 Jul, 2020 08:32 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM