Visual Studio 2015 must be installed in order to build this target

Running C:/Program Files/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“C:/Users/SGallagher/Documents/Unreal Projects/MyProject/MyProject.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for MyProject (no existing makefile)
Visual Studio 2017 is installed, but is missing the C++ toolchain. Please verify that the “VC++ 2017 toolset” component is selected in the Visual Studio 2017 installation options.
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “C:\Users\SGallagher\Documents\Unreal Projects\MyProject\MyProject.uproject” “C:\Users\SGallagher\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 11.1622056 seconds
@progress pop
ERROR: Visual Studio 2015 must be installed in order to build this target.

Please hlp

Note sure what the question is.

It appears to be true that while you are using VS 2017 as the IDE, the project is configured to compile using the 2015 version of the compiler.

So, indeed, 2015 must be installed, too.

Read the error:

"Visual Studio 2017 is installed, but is missing the C++ toolchain. Please verify that the “VC++ 2017 toolset” component is selected in the Visual Studio 2017 installation options. "

You missing c++ toolchain which contains C++ compiler which UBT needs to compile anything, it disabled by default in VS installation (because M$ want you to use C# insted ;p), go to Control Panel->Programs pick VS and click modify or add/remove or something like that, then find the componand and add it

I just got this problem tonight with 4.19. I had an issue where I had to refresh my Win 10 installation. I had both VS 2015 and 2017 installed before and decided to only install vs2017. So when I pulled down 4.19 changes and tried to generate solution, I got all kinds of errors about vs 2015 needing to be installed.

Not finding any easy answer, I blew away my engine directory and pulled down a fresh install. Compiling with vs2017 as I type this.

Should open an existing project and go Edit->Editor Preferences->General->Source Code
Change SourceCodeEditor line to VisualStudio2017 and you should be able to create a new C++ project in UE4 (After downloading Common C++ for Visual Studio 2017)

1 Like

Thanks that worked for me