Transactor.h cannot be opened

D:\UE_4.18\Engine\Source\Editor\UnrealEd\Classes\Editor/Transactor.h(14): fatal error C1083: Cannot open include file: ‘Transactor.generated.h’: No such file or directoryD:\UE_4.18\Engine\Source\Editor\UnrealEd\Classes\Editor/Transactor.h(14): fatal error C1083: Cannot open include file: ‘Transactor.generated.h’: No

I’m including UnrealEd in my build.cs file. What’s the problem?

did you solve this?? I have the same problem.

check your includes in the .build.cs-files. You seem to include Editor-related modules/header.
you can try to use #if WITH_EDITOR macro

Has anyone found a a resolution for this?