How to change "Build.bat" path in Rider?

Dear experts,

I am getting this error when I try to build with Rider:

Microsoft.MakeFile.targets(46, 5): [MSB3073]
The command ““E:\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat” AdventureEditor Win64 Development
-Project=“D:\Documents\Unreal Projects\Adventure\Adventure\Adventure.uproject”
-WaitMutex -FromMsBuild” exited with code 9009.

I checked and this path does not exist: E:\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat
It is in “D:\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat”

Can anyone tell me how/where to change the path and correct it?

Thank you,

PS: I had to reinstall Windows over the weekend. I have other projects that I can work with and no problems. It is just that one for which it brings that \Build.bat error. Strange

I deinstalled Visual Studio. I tried creating a new C++ project from the engine and when it says “no compiler found, install Visual Studio” I clicked that button, installed ít and now it works. Also with Rider.