Creating new blank project freezes at 80%

I’m experiencing the same problem, I can create blueprint projects without issue but when trying to create a c++ project it freezes at 80%, no error message, have to kill the UnrealBuildTool process, message after killing the process:

Failed to generate project files. Log
output: Running C:/Program Files/Epic
Games/4.7/Engine/Binaries/DotNET/UnrealBuildTool.exe
-projectfiles -project=“C:/Users/Janek/Documents/Unreal
Projects/MyProject3/MyProject3.uproject”
-game -rocket -progress Discovering modules, targets and source code for
game…

Saved folder and uproject file weren’t generated.

May also be relevant: I had a small problem building new projects before, like in this question: link (The answer worked).