Hi @anonymous_user_60083892,
The git repo [ue5-main] often fails as its updated many times a day and may not be reliable at its cutting edge.
I have made available a version that compiles and works on Vs 2019 and VS 2022 Preview
Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums
Ii rebuild this every new version of VS 2022 Preview
because it works with 2019 as well.
I cannot fix [ue5-main], because its Epic Staff version.