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?