I had tried to re-install the engine and the issue persists.
Since it is happening even on empty project, I had ruled out any issue with “saved” directory etc.
I was having the same issue, but here’s your answer
VS2015 Update 3 Required
A fundamental C++ change:
Visual Studio 2015 Update 3 is now required to compile UE4 on Windows.
Proceed Carefully, getting 2015 Update 3 will break engine versions older than 4.11
Yes, I had tried an empty project and it still failed.
However, I had uninstalled 4.17 and installed it again, after the patch of VS and all seems to work and all projects compile.
Thank you very much for the help, now I can enjoy the new features of 4.17.
For anyone who will have the same issue, the exact link for download is here : microsoft dowload link
Ah yeah, I figured out what the issue was when I decided to actually look at the log. It turns out that you were trying to actually package the project, so that’s definitely my bad for not looking out well enough lol.
After 4 days of bug testing, and 4 reinstalls of windows, I found out that the cause was this file:
My Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
It was empty, and Ue4 was trying to use it instead of the default location of the Build Configuration.