IMPORTANT UPDATE FROM VS2022 PREVIEW 3.1 IS RELEASED 21st August 2021
(https://devblogs.microsoft.com/visualstudio/visual-studio-2022-preview-3-now-available/)
I have been told by VS Preview Engineering that
Visual Studio 2022 Preview 3.1 has been RELEASED
Please go into Visual Studio 2022 Preview 2 and look at the bell symbol with a number that will appear. Click on the Visual Studio 2022 Preview 3 and select “Start Update on Visual Studio on Closing”.
When installed reopen UE5.sln with Visual Studio 2022 Preview 3.1
On UE5 .sln click “Clean”, Then “Build”, currently my PC take about 4300 seconds(78 minutes).
Please do the update and re-build, then build your project.
UPDATE
VS2022 Preview 3 automatically builds C++ BP project now
see 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