UE4 only works with Visual Studio 2017?

I copy pasted the entire command that was executed, resulting in that error, into the command line and manually replaced -2017 with -2022 and that ran without a hitch.

I don’t know what other steps UE4 would have run after that one where it bombed out but I was left with a folder with lots of files in it that were not needed so I just went in manually and deleted everything except the Plugins folder. Once I moved that into my UE install folder it loaded just fine… until I activate it. Then UE4 tries to restart and then UE4 crashes until I open the UPROJECT file in TextEdit and remove the plugin

It seems that whatever is calling that file is forcing it to call VS2017 for some reason. Does anyone know where this is set and how I can change this so I can have a clean build process that doesn’t require this hands-on post processing?

In my case, the command that I had to copy paste was this (notice the -2022 I changed near the end):

D:\Programs\Unreal\UE_4.27\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Win64 Development -Project=D:\Desktop\MyTestPlugin\HostProject\HostProject.uproject -plugin=D:\Desktop\MyTestPlugin\HostProject\Plugins\MyTestPlugin\MyTestPlugin.uplugin -iwyu -noubtmakefiles -manifest=D:\Desktop\MyTestPlugin\HostProject\Saved\Manifest-UE4Game-Win64-Development.xml -nohotreload -2022 -log="C:\Users\Ryu\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Programs+Unreal+UE_4.27\UBT-UE4Game-Win64-Development.txt"

Now the question becomes: What commands would the Build process have called after this step? I can get no further than this