Can't open a new C++ new project in Unreal Engine 5.

Hello!
I have been trying to open a new c++ blank game and Im getting this error, i have downloaded what they asked and it is still not working…

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/lucas/OneDrive/Documents/Unreal Projects/Shooter/Shooter.uproject” -game -rocket -progress
You must install or update .NET to run this application.

App: C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe
Architecture: x64
Framework: ‘Microsoft.NETCore.App’, version ‘3.1.0’ (x64)
*.NET location: C:\Program Files\dotnet*

The following frameworks were found:

  • 5.0.14 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]*
  • 6.0.8 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]*

Learn about framework resolution:
Troubleshoot app launch failures | Microsoft Docs

To install missing framework, download:
Download .NET Core 3.1 Runtime

did you got the 3.1.0 as requested?

2 Things to check:

  • Make sure you are installing the .NET FRAMEWORK not the SDK, I’ve made that mistake many times

  • Make sure you are installing it for the version of Visual Studio you are using with the project

Yes, I did.