I’ve recently began learning Unreal Engine 5.03, and I’ve been struggling to get Visual Studio working so I can program with C++. When trying to create a project with C++ instead of blueprints, I’m told to install visual studio 2019, and when I do and try to launch the project,
I get this error message:
An error occurred while trying to generate project files.
Running D:/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project=“C:/Users/campb/Documents/Unreal Projects/TestLaunch/TestLaunch.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 [D:\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:
Any help would be appreciated