Adding C++ class in a blueprint project

Hello

I am trying to add a C++ class in blueprint project and for some reason it doesn’t generate the required generated.h file automatically.

I looked through previous answers and tried after deleting bunch of intermediate project folders and solution.
Regenerated solution, recompiled project and launched again. But no luck. Plus I see some 13000 errors when launching solution in VS 2019.

Shouldn’t this be very straightforward without so many complications?
Am I doing something wrong?

Thanks
Vishang