Maybe my answer is irrelevant to your issue, but I had similar issues yesterday. Finally I tried installing Visual Studio 2015 next to 2017 and after that unreal did the rebuild just fine.
Maybe my answer is irrelevant to your issue, but I had similar issues yesterday. Finally I tried installing Visual Studio 2015 next to 2017 and after that unreal did the rebuild just fine.