How to fully setup UE4 to work with VS2017?

This worked for me however I also had to “Refresh Visual Studio Project” as my files were originally created in Visual Studio 2015.