*Info for the people who don’t know how to rebuild (have never done it before):
You need Visual Studio Community (not Code). After its installation you will most likely run into the next error, which seems to be common with UE5:
A fatal error occurred. The required library hostfxr.dll could not be found.
If so, continue following this info to install the right version of .NET Core:
After that you should be able to rebuild just fine in VS.