I repeated the procedure and again made extra sure that the files I am including occur at the point I see the error. They are attached.
I however noticed something, the error message in the editor says:
CompilerResultsLog: Info ERROR: ‘C:/dev/Unreal/Projects/MyProject5/Intermediate/Build/Win64/Inc/MyProject5/GeneratedMeshComponent.generated.h’: Changes to generated code are not allowed - conflicts written to ‘C:/dev/Unreal/Projects/MyProject5/Intermediate/Build/Win64/Inc/MyProject5/GeneratedMeshComponent.generated.h.conflict’
However, I found the GeneratedMeshComponent.generated.h file in C:\dev\Unreal\Projects\MyProject5\Intermediate\Build\Win64\MyProject5\Inc\MyProject5 instead (the last part of the path is different). I am using Development/x86 as configuration