Added support for Visual Studio 2022, removed support for Visual Studio 2017. Modified the check for Unreal Engine 4 or Unreal Engine 5 to check the solution for a project named "UE4" or "UE5" rather than relying on the solution file name to be "UE4.sln" or "UE5.sln".