visual studio 2017 stuck building ue4

I would delete all of it, reclone the repository, run setup.bat and generate the visual studio files again. Get it running from a clean-rebuild before making changes.