Rider with UE5.7 doesn't work.

Hey I installed Unreal 5.7 recently and I can’t compile the project in Rider.
Rider gives me this error:
Failed to generate Unreal project model definition files. This could be due to a conflicting instance of UBT already running. UE5.7 RIDER

VS Studio 2026 gives me this error:
The command “C:\Users\polef\UnrealEngine\UE_5.7\Engine\Build\BatchFiles\Build.bat TestBedEditor Win64 Development -Project=“C:\Users\polef\Unreal Projects\TestBed\TestBed.uproject” -WaitMutex -FromMsBuild -architecture=x64” exited with code 8.

I can’t compile anything right now.