Just returning to UE after a while – installed 4.21 and cannot create a new blank C++ project. I had VS Community 2017 installed previously and used it with earlier versions of the engine, but when trying to create a new C++ project I get this error:
C:/UE4/UE_4.21/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Documents/Unreal Projects/SpaceCowboy/SpaceCowboy.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
Binding IntelliSense data...
WARNING: No Visual C++ installation was found. Please download and install Visual Studio 2015 with C++ components.
WARNING: Exception while generating include data for UE4Editor: Visual Studio 2015 must be installed in order to build this target.
WARNING: No Visual C++ installation was found. Please download and install Visual Studio 2015 with C++ components.
WARNING: Exception while generating include data for SpaceCowboyEditor: Visual Studio 2015 must be installed in order to build this target.
Binding IntelliSense data... 100%
Writing project files...
Writing project files... 0%
ERROR: UnrealBuildTool Exception: Visual Studio 2015 must be installed in order to build this target.
I saw a slightly different post regarding VS 2019 where there was a workaround by creating a BP project and changing the Source Code Editor in the editor preferences. I tried this and set the default to VS 2017, but no dice. This error also occurs with 4.22.
I suspect there is a config file that designates the version of VS to be used when creating a new project, but I don’t know where it is. Any help is appreciated.