Hi ,
Did this error occur when you tried to run the GenerateProjectFiles.bat file after downloading the source code? Could you please try re-downloading the dependency files for the version you are trying to build to make sure none of those files were corrupted?