Ue4 won't compile when created a custom module

Hello, I am trying create a custom module. I have followed this, this, and this tutorials. But still does not work. Basically, it is giving me this error


I can’t find any similar module error relate to “error MSB3073”.

image

I don’t know what i did wrong to cause this happen.
I have tried ue4.26.2 and ue4.24.3 and visual 2017 in this case.
Greatly appreciate any help pls!

below is a snapshot for custom module build file, cpp, and .h file
OrfeasModule.Build.cs

OrfeasModule.h
image

OrfeasModule.cpp
image

ModuleTestEditor.Target.cs

ModuleTest.Target.cs

Change
#include "ModuleManager.h"
to
#include "Modules/ModuleManager.h"

Docs

1 Like

Thanks for the help!!! I can’t believe this single line trouble me for a week.