Skip to content

Visual Studio 17 2022 Compiler Detection fails. Community can't be found NOT preview

cmake -S . -B build/ -G "Visual Studio 17 2022"

  Visual Studio 17 2022

 could not find specified instance of Visual Studio:

   C:/Program Files/Microsoft Visual Studio/2022/Preview

This is where I want CMake to look: C:\Program Files\Microsoft Visual Studio\2022\Community

Edited by Archsolar
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information