For some reason 4.20 cannot open or edit c++ files unless I set the editor to Visual Studio Code. This never used to be a problem. I get this error when trying to open visual studio 2017 within unreal.
Discovering modules, targets and
source code for project… F:\Epic
Games\UE_4.20\Engine\Source\ThirdParty\Expat\Expat.Build.cs:
warning: Referenced directory ‘F:\Epic
Games\UE_4.20\Engine\Source\ThirdParty\Expat\expat-2.2.0\Win64\VS2015\Release’
does not exist.
I think he means:
Uninstall Visual Studio,
Open Unreal Engine,
Create a C++ project,
Unreal should prompt you that you need to install Visual Studio before making the Project and give you a link to it.
I have a few VSs installed. However, I fixed the problem in a different way. Instead of trying to build from sources on the Epic Games Launcher build, I build from sources from on the GitHub version. No problems there.