Errors when adding a C++ class

Hello

I added a C++ class in blueprint project and thousands or errors popped up. Plus there is no .generated.h file to be found. Any clue what I am missing or doing wrong?
UE 4.25 and VS 2019.

Thanks