How to do this in UE 4.24+ ?

I see these two files:

UnrealEngine\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\VisualStudio\VCProject.cs...