When creating a new project, there will be a [project name].uproject file, right click on the file and click Switch Unreal Engine version
What should you do if your [project name].uproject file is a pure white icon, which proves that it is not associated with Unreal
Use the search tool to search for UnrealVersionSelector.exe
Or go directly to your UE5 installation directory to find this file
X:\XXX\UnrealEngine5.1\Engine\Binaries\Win64\UnrealVersionSelector.exe
After executing the file, you can recognize the .uproject file.
Select the version you want to open in the pop-up box, our project has been upgraded to 5.1
Then click Generate Solution
The generated files are in the Intermediate folder
The next step is to open the VS solution Client.sln, double-click to open automatically, provided that you have installed VS
To start UE5, you need to rely on DirectX, .Net4.6 Framework or later, please install it in advance
The opened VS scheme looks like this
The following is to start generating the solution to start Unreal
Click on Development Editor, then press F5 to start compiling
Look at the output window, Cpp files are constantly being compiled, which proves that the compilation work has started.
The above shows that 2920 files need to be compiled. After the compilation is completed, the following UE5 startup interface will pop up.