[4.9.2] Can't generate VS project files for any C++ project

Here is another post with the same issue you’re describing. Can you try the solutions posted by Valkorian and JamieT187 to see if either helps in your case?