Download

UE 4.19 opens wrong version of Visual Studio [SOLVED]

Installed 4.19 , created new empty c++ project, double click on a class in editor - opens vs2015.
Source control is set to vs2017.
Restarting editor doesnt fix it

UPD:

i deleted the .vs folder and .sln , then in editor File > Generate vs 2017 project , now it opens correct version.

Was having the same issue with UE 4.22 and Visual Studio 2019. UE kept opening VS 2017. This exact solution solved my issue.