Try this (from the microsoft forum):
This seems to be a VS specific problem and not exactly an unreal one.
You can try the include order fix in the target file for your engine version once the license problem is solved.