Cannot include CoreMinimal.h

For both Unreal 5.4 and 5.6. Even brand new C++ project, VS will show errors E1696 when include CoreMinimal.h or other headers.

Tried methods like adding path to VS, refreshing VS code. Nothing works properly.

Interestingly, if I have Editor running and open VS from editor, it has a small chance of being able to include headers. After I close VS and reopen it, it doesn’t work very likely.

Need much help.