How can I resolve "Not expecting project ... LyraGameEOS.vcxproj to already have a target rules of with configuration name Game (LyraGameEOSTarget) while trying to add: LyraGameEOSTarget"

I am trying to move my standard 5.3 Lyra build to the 5.4.3 source build that I’ve set up. I’ve added Lyra 5.4 to it and got it to work fine but am having trouble upgrading a 5.3 file.

The full error is “Not expecting project D:\UnrealEngineSrc_5_4_3\UnrealEngine-release\Engine\Intermediate\ProjectFiles\LyraGameEOS.vcxproj to already have a target rules of with configuration name Game (LyraGameEOSTarget) while trying to add: LyraGameEOSTarget”