Unable to complete GenerateProjectFiles.bat

I’ve installed the compiled version and it asked me to check if i have installed Windows SDK and Visual Studio Toolchain. I’ve clicked repair on VS 2015 from Uninstall programs and installed them and the error disappeared.