My character C++ class gives me error when i try to create it can someone help?

my character C++ class gives me error when i try to create it can someone help?

hey ive been trying to fix a problem while making a Character C++ Class and this is what it says

Successfully added class ‘MyCharacter’, however you must recompile the ‘demogame’ module before it will appear in the Content Browser. Failed to generate project files.

Would you like to open the Output Log to see more details?

and when i go to VS no project class or file or whatever is there ive looked at like 50 videos and forums and none of them work.

by the way im in blueprint project because its better for me.

Inside your project folder, delete Intermediate, .vs, Binaries and the .sln solution file if present. Right click on .uproject → Generate Visual Studio project files. Open .sln, hit F5.

Also, actually looking that Output Log helps in those cases.