generated.h file for new custom module is missing

In UE4.20 I have created a new plugin via the editor’s plugin window. Then I added a new class to that plugin via the “Create C++ class” menu item. However, after a full rebuild of the project in Visual Studio 2017 now the generated.h file of the plugin is missing, so the project cannot be compiled. I tried to delete the Intermediate, Build, Saved, .vs folders, both for the project and the module, I deleted the .sln file and regenerated the VS project via context menu of the .uproject file.

However, nothing of this worked, the generated.h file is still missing.
Any odther ideas?