4.26 plugin generated.h missing [Solved]

SOLVED: I added the plugin to target.cs instead of build.cs

Ran into issue converting a blueprint project to c++ on 4.26 and can’t use any plugin from c++ source because I get the error the *.generated.h file is missing for each plugin. Tried deleting intermediate etc to no avail and added the plugins to ExtraModules in target.cs

I have never run into this before on previous engine versions. Anyone know how to fix?

Did you right-click .uproject in file explorer and GenerateProjectFiles?

Yes and I have even tried moving the plugins from Engine/Plugins/Marketplace into project directory/Plugins and deleting all intermediate files etc. The UBT never generates the files or it can’t find them.