Unable to start the project

Hello community, I am new and had a basic project in UE4.27 and now want to upgrade to UE5, but when i start the project from UE5 it throws below error

Project files could not be generated. Log output:

Running C:/Unreal 5/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe  -projectfiles -project="D:/Projects/ 2MetaHuman.uproject" -game -rocket -progress
A fatal error occurred. The required library hostfxr.dll could not be found.
If this is a self-contained application, that library should exist in [C:\Unreal 5\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\].
If this is a framework-dependent application, install the runtime in the global location [C:\Program Files\dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\InstallLocation].

The .NET Core runtime can be found at:
  - https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=win10-x64

Please guide me with the above!

So i found the answer myself that i needed to installl the correct version(for me 3.1) of .NET framework as per the correct architecture of my system (for me x64 rather than x86).
Hope it helps others too!

1 Like