What happend to TargetInfo.Target in 4.19?

As TheJamsh said, they’ve been deprecated for awhile. You can use the following check to find out if the Target is building the Editor:




if (UEBuildConfiguration.bBuildEditor == true)
{
// Add modules....
}