How to fix this error with GenerateProjectFiles.bat?

I have reinstalled visualstudios2015, and it did not fix my problem. I’m not sure if it matters, but I don’t have an ADM processor, and it is present in the error. I have built this project before, and it worked. I re-downloaded it from git, and now it is not working. Any help would be appreciated!

Setting up Unreal Engine 4 project files…
C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.t
argets(1098,5): error MSB3644: The reference assemblies for framework “.NETFram
ework,Version=v4.5” were not found. To resolve this, install the SDK or Targeti
ng Pack for this framework version or retarget your application to a version of
the framework for which you have the SDK or Targeting Pack installed. Note tha
t assemblies will be resolved from the Global Assembly Cache (GAC) and will be
used in place of reference assemblies. Therefore your assembly may not be corre
ctly targeted for the framework you intend. [D:\STARBROSGIT\UnrealEngine\Engine
\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj]

GenerateProjectFiles ERROR: UnrealBuildTool failed to compile.

Press any key to continue . . .

Hi Allergybiscuit,

Based on the output, my intuition is that you are missing the Windows 8 SDK which would have installed the .NET 4.5 framework.

You can find a download here:

Let me know if this fixed your issue or if you continue to receive this error afterward.

Cheers,

Jonathan