Hey -
Is this unique to a single project not being able to compile or is this all projects? Are you trying to compile through VS or are you right clicking on the .uproject file and selecting “Generate Visual Studio project files”? Are you able to create new code projects? Does the same thing happen for other versions of the engine (4.8)?
Cheers