UE 5.0.0 Will not start a C++ Project

Hi All,

I went to start a new project with UE5.0.0 using a Blank Project and using the C++ option, went to create the project and Unreal crashed with a error saying:

An error occurred while trying to generate the project Files

Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project=“D:/Unreal Development/Unreal 5/MyProject2/MyProject2.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:\Program Files\Epic Games\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:

I went to the above site to get the Net Core file extrated them, ran the only file file that was an application as an administrator, did it’s thing and nothing, the same thing keeps happening. I tried creating a project as a BluePrint project and it works no problem.

So, how do I solve this problem?

Thankyou for all your helpful responses. They were most appreciated.

It only took two days to try and find a solution. In this case it was easy to fix I had to download and install the the Net Framework “SDK” 3.1.24 ‘again’ to get UE5 working, don’t bother with the runtimes they won’t fix anything.

Good job Epic, no, really good work.

1 Like