This did not reproduce with Microsoft Visual Studio version 15.6.2 at the same CL in //UE/Main. Only occurred after I updated from 15.6.2 to 15.7.1.
Have Visual Studio 2017 version 15.7.1 on your machine
Project fails during the build phase with multiple errors similar to
Project packages a Win32 development build successfully
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-59150 in the post.