Compile error when building using the "Development" configuration (with version 4.14)

As the title says, I can’t compile using the “Development” configuration of Visual Studio. It throws me this error, which is related to the engine itself:

c:\program files\epic games\ue_4.14\engine\source\editor\unrealed\classes\editor\EditorPerProjectUserSettings.h(5): fatal error C1083: Cannot open include file: ‘EditorPerProjectUserSettings.generated.h’: No such file or directory

Did it happen to anyone before? I couldn’t find anything online, and I’ve no idea how to fix it…

I managed to (kind of) understand what was going on. I was using the UnrealEd module (for debugging purposes), which can only be used with the Editor builds. In the build chain that module was looking for the EditorPerProjectUserSettings class and couldn’t find it.

The solution was to remove the UnrealEd module frome the build.cs file.