Why does Visual Studio generate additional projects for new Targets

Hello,

I want to create a new Target.cs file so I will be able to distinguish configurations and OnlineSubSystems between Steam and Epic Game Store (EGS).

My target is extending from the “base game” target file:

public class MyGameEGSTarget : MyGame
{
	public MyGameEGSTarget( TargetInfo Target) : base(Target)
	{
		CustomConfig = "EGS";
    }
}

However when re-generating the Visual Studio project files, MyGameEGS will be a new project in the .sln, next to the MyGame project. How can I keep the MyGameEGS target inside the MyGame project, just like the Editor target?

(Btw this is the cleanest way I found to have different builds for Steam and EGS, let me know if there are better options)

Thanks in advance