When compiling UE4.11, GenerateProjectFiles ERROR

When I compiling UE4.11 souce code, double click GenerateProjectFiles.bat, it says:

*Setting up Unreal Engine 4 project files...

UnrealBuildTool Exception: System.NullReferenceException: Object reference not s
et to an instance of an object.
   at UnrealBuildTool.ProjectFileGenerator.ConfigureProjectFileGeneration(String
[] Arguments, Boolean& IncludeAllPlatforms) in D:\Unreal Engine 4.11\Engine\Sour
ce\Programs\UnrealBuildTool\System\ProjectFileGenerator.cs:line 805
   at UnrealBuildTool.VCProjectFileGenerator.ConfigureProjectFileGeneration(Stri
ng[] Arguments, Boolean& IncludeAllPlatforms) in D:\Unreal Engine 4.11\Engine\So
urce\Programs\UnrealBuildTool\System\VCProjectFileGenerator.cs:line 202
   at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String[] Argumen
ts, Boolean& bSuccess) in D:\Unreal Engine 4.11\Engine\Source\Programs\UnrealBui
ldTool\System\ProjectFileGenerator.cs:line 309
   at UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator
Generator, String[] Arguments) in D:\Unreal Engine 4.11\Engine\Source\Programs\U
nrealBuildTool\System\UnrealBuildTool.cs:line 1468
   at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(Str
ing[] Arguments) in D:\Unreal Engine 4.11\Engine\Source\Programs\UnrealBuildTool
\System\UnrealBuildTool.cs:line 1266

GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files
.

Press any key to continue . . .

here are my computer information

OS: /64bit
Visual Studio community 2015

i don’t know ! what i do??

Did you run setup.exe before you generated files?

yes. i complete all dependencies…

look at this

Hi appy001,

I downloaded a fresh copy of the 4.11.2 source code and was able to run GenerateProjectFiles.bat without any problems. Are you still having trouble with this issue?

Hi appy001,

We have not heard back from you for a while. Do you still need any help with this issue? I will be marking this post as resolved for internal tracking purposes, but if you need any additional help, please feel free to add a comment and re-open this post.

I have the same problem,how do you resolve it?

thank you sir but i resolve it, actually problem was Microsoft Visual c++15 (vcredist_x64 x86). when m installed it, problem solved…

install Microsoft Visual c++15 (vc_redist_x64 x86)
both file size= 27.0 mb