Unable to create new project in Unreal engine following course

Hello,
i’m unable to create a new project inside Unreal.

Here’s the given error:
"
An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/HP/Documents/Repos/03_BuildingEscape/BuildingEscape1/BuildingEscape1.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
WARNING: No Visual C++ installation was found. Please download and install Visual Studio 2017 with C++ components.
ERROR: Visual Studio 2017 must be installed in order to build this target.
"

What compiler are you using?

Visual Studio 2015 and its compiler i believe.

So UE 4.22 deprecated Visual Studio 2015 https://docs.unrealengine.com/en-us/Builds/4_22

At the same time, we’ve deprecated support for Visual Studio 2015. If you want to force your project to compile with the Visual Studio 2015 compiler, you can set WindowsPlatform.Compiler = WindowsCompiler.VisualStudio2015 from your project’s .target.cs file. Note that the version of the engine downloaded from the Epic Games Launcher does not support Visual Studio 2015, and we no longer test it internally.

You can try that. I don’t know what will happen (they do note that it looks to not be supported any longer with 4.22). But you can also move to 2017 or 2019.

Or you can use an older UE version.

Privacy & Terms