Don't select Visual Studio 2017 Preview if install Visual Studio 2017 Release
I installed Visual Studio 2017 Community and Visual Studio 2017 Community Preview, when I use CMake Build LLVM (clangbuilder), it always automatically selects the Preview
, when we use CMake to build software should use release version instead of Pre-Release version. I suggest that you should choose the Release
version
Same Issue: #16846 (closed)
My Solution: https://github.com/fstudio/clangbuilder/blob/3f1c7c6368bc24fe0f356fac6a7cc140f480ac83/bin/VisualStudioEnvinit.ps1#L89
so I think you can check channelId is endwith Release
In fact, Installation information in this directory:
C:\Users\$User\AppData\Local\Microsoft\VisualStudio\Packages\_Channels
https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmVSSetupHelper.cxx#L279
Edited by Force.Charlie-I