Version 4.22 and Visual Studio 2019
I recently uninstalled my Visual Studio 2017 cause with the release of 2019 and Unreal Engine 4.22 supporting it i wanted to swap to the new version. However it seems like its not possible to create new c++ projects with 4.22 if your only installed Visual Studio is 2019. It fails with:
**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/Eric/Documents/Unreal Projects/MyProject/MyProject.uproject" -game -rocket -progress Discovering modules, targets and source code for project... WARNING: Visual Studio C++ 2017 installation not found - ignoring preferred project file format. ERROR: Visual Studio 2017 must be installed in order to build this target.
Is there a way to tell Unreal to use the 2019 Visual Studio for project file generation or is this simply a bug/not supported yet and i actually have to install 2017 again until this is fixed?
asked Apr 21 '19 at 04:23 PM in Installation & Setup
This worked creating a blueprint only project and changing the default settings to VS2019 solved the issue.
answered Apr 22 '19 at 11:59 AM
Did you change unreal source code editor? If not its in Edit > Editor Preferences > General : Source Code. You need existing project as far as i know.
answered Apr 21 '19 at 06:15 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here