Error while generating project files from source

I have a problem running the “GenerateProjectFiles.bat” which gives me the error:

GenerateProjectFiles ERROR: UnrealBuildTool failed to compile.

. But i can also build it under debug in VS 2013 like you, but not develpment. What folder did you copy what exactly into? Only the “UnrealBuildTool.exe”? Mine is currently in “\GitHub\UnrealEngine\Engine\Binaries\DotNET” and the “GenerateProjectFiles.bat” still gives me the error i mentioned at the beginning.