Unreal Engine opening developer command prompt instead of Visual Studio 2019

This happens to me too with UE 5.5.4 and VS 2022. Is there a fix for this?