lateset UnrealEngine 5.7.3 source code cant't generate project files

I just upgrade my engine version from 5.4 to latest version 5.7.3. I try to rebuild my project from engine source code. However, after i run setup.bat, i can’t generate engine projectile files. The cmd output shows no toolchain was found, but i can compile and run editor from visual studio. But i usually use rider as source code editor.

Same for me, upgrading a project from 5.6 to 5.7. Builds in Visual Studio but Rider can’t open project. (Replying in hope someone might have a suggestion for addressing this!).

Installing/reinstalling DotNet SDK version: 8.0.412 resolved the problem I was having. (may or may not help!)

make sure you have the correct version of the required libraries.
check the table of version compatibility. Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community

also delete intermediate and binaries.