Building from source in VS to a specific folder

I would like to know how can I build UE from source (using VS) and run it using .exe file instead of running it using “F5” from inside Visual Studio

When the engine is built you can go to Engine\Binaries\Win64 and you should find UnrealEditor.exe