UnrealBuildTool has Stopped Working?

I have been scouring the internet in hopes to find an answer. However no luck so far. Thus I decided to come to the professionals.

Here is the error message:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.15/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Development Win64 -project=“C:/Users/ThatTylerGuy/Documents/Unreal Projects/MyProject/MyProject.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Creating makefile for MyProject (no existing makefile)
Performing full C++ include scan (no include cache file)
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “C:\Users\ThatTylerGuy\Documents\Unreal Projects\MyProject\MyProject.uproject” “C:\Users\ThatTylerGuy\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProjectEditor in 2.2515087 seconds
@progress pop
Performing 8 actions (4 in parallel)
[2/8] Resource ModuleVersionResource.rc.inl
[3/8] Resource PCLaunch.rc

Unhandled Exception:
UnrealBuildTool.BuildException: ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /nologo /D_WIN64 /l 0x409 /I “C:\Program Files\Epic Games\UE_4.15\Engine\Source” /DUE_EDITOR=1 /DIS_PROGRAM=0 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /DORIGINAL_FILE_NAME=“UE4Editor-MyProject.dll” /fo “C:\Program Files\Epic Games\UE_4.15\Engine\Intermediate\Build\Win64\UE4Editor\Development\MyProject\PCLaunch.rc.res” “C:\Program Files\Epic Games\UE_4.15\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc”
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc() —> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
— End of inner exception stack trace —
at UnrealBuildTool.ActionThread.ThreadFunc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Unhandled Exception: UnrealBuildTool.BuildException: ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /nologo /D_WIN64 /l 0x409 /I “C:\Program Files\Epic Games\UE_4.15\Engine\Source” /DUE_EDITOR=1 /DIS_PROGRAM=0 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /fo “C:\Program Files\Epic Games\UE_4.15\Engine\Intermediate\Build\Win64\UE4Editor\Development\ModuleVersionResource.rc.inl.res” “C:\Program Files\Epic Games\UE_4.15\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl”
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc() —> System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UnrealBuildTool.ActionThread.ThreadFunc()
— End of inner exception stack trace —
at UnrealBuildTool.ActionThread.ThreadFunc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()PCH.MyProject.cpp
c:\program files\epic games\ue_4.15\engine\source\runtime\core\public\windows\WindowsSystemIncludes.h(27): fatal error C1083: Cannot open include file: ‘intsafe.h’: No such file or directory

Problem was solved once I reset my entire computer. There seemed to be a problem with a windows file and thus a reinstall of windows was all it took.

in my case the .sln file were bad (created in 4.18, attempted to use the same one straight after migrating to 4.20, with 4.20 UBT.).
rerunning “generate visual studio project files” on .uproject has fixed it.