I can't create a C++ project in UE5, can someone help?

An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/UE_5.0/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe -projectfiles -project=“C:/Users/mjbev/OneDrive/Documentos/Unreal Projects/AulasProgramação/AulasProgramação.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].

I’m seeing there something about OneDrive

Try creating the project on a second disk if you have it or create a folder in the C drive and create it there

maybe you get lucky

Greetings @Greatfull206 !

Welcome to the Unreal Engine community! :medal_sports:

Just so you’re aware, this topic has been moved from the International forum to the Programming & Scripting - C++ forum. I added the optional tag “UE5-0” for you.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Wishing you the best of luck!

'- Your Friendly Neighborhood Moderator :smiley: