[4.8] GenerateProjectFiles.bat -> UnrealBuildTool Exception

Temporary Fix!!

It seems the program that generates the XML has not been added to the actual UE4 build. Here is the fix

  1. Go to \Engine\Source\Programs\EnvVarsToXML open the SLN and build it

  2. that will make a directory in \Engine\Source\Binaries\DotNET copy all 6 files in there

  3. Paste all files to \Engine\Binaries\DotNET

This will fix the errors

P.s you can probably get away with not including the 3 vhost files, just the first 3