I created a C++ project from the launcher. While creating the project, I received an error that said that the project could not be built and that I should build from source code.
I have visual studio 2022, and when I load and try to build the source, I receive an error that requires >UnrealBuildTool requires, at minimum, the MSVC 14.29.30133 toolchain. Please install a later toolchain, such as 14.33.31629, from the Visual Studio installer.
These are installed in the visual studio. It has been suggested that I run GenerateProjectFiles.bat -2022. However, this batch file is not in the Epic Games\UE_5.1\Engine\Build\BatchFiles folder.
I have generated the visual studio project files by right-clicking on the project file.
I have also updated visual studio 2022 to the latest version and ensured that the MSVC version is installed.
I have also tried building with VS 2019, and I had the same issue.