Unreal Header Tool runs on every compile?

I solved this, somehow! I was helped here:

Go to

yourengineversionfolder\Engine\Binaries\Win64 and find the file “UnrealHeaderTool.target.”

Literally open it, file->save without doing anything… You might have to restart your pc or re-open VS but it works. Weirdly it works.