Cannot compile nor open project in unreal

your close door method is incorrect.

First you have written it as: “void UCloseDoor ()” which is also misleading with the c’tor - but VS seems to overcome this.

change your line 28 in CPP to this one.

void UCloseDoor::CloseDoor()
{
//...
}

Advice for future - Pick a better Class and Method names!