UE5: Trying to build project in VS nukes "UnrealHeaderTool" and then complains about it missing, corrupting the engine install

The “UnrealHeaderTool.target” file have so far been removed twice for me…

I also seems to lose some folders and files in "UE_5.0\Engine\Intermediate".
Like in “UE_5.0\Engine\Intermediate\Build\Win64\UnrealEditor\Inc” I have multiple times lost the first 69 folders, Engine is the first folder.

It seems to happen sometime when I use Rebuild “Project”.