Building C++ project in 5.1 gives: Failed to create CoreCLR, HRESULT: 0x80004005

I’ve investigated further and have suspected because of my installation part, I recall having the problem Path too long error also when I’ve installed the engine version 5.1, but not on 5.0(which is the engine version that works perfectly)…

Did the Unreal Header Tool some how called dotnet with incomplete paths as it’s too long?