Compile error following QuickStart Unreal Tutorial

Hey,

I’m following Programming Quick Start | Unreal Engine Documentation
Using Visual Studio Community (2019 - 16.4.1), UE 4.24 and .net SDK 4.8

I get the following error after step 4 (adding the code to the floating cpp):

However if I add
#include “Components/StaticMeshComponent.h”
the error dissapears.

Does the unreal tutorial just miss out the instruction to add the include?

Thanks in advance