I cant start a Project

This is my first time with unreal engine and when I try to create my project (I am making it with C++ not blueprint) I get hit with this error message.

An error occurred while trying to generate project files.

Running D:/Program files new/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/vivaa/OneDrive/Documents/Unreal Projects/FirstProject/FirstProject.uproject” -game -rocket -progress
Discovering modules, targets and source code for project…
ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing. Install a version of .NET Framework SDK at 4.6.0 or higher.

I have installed .NET Framework 5.0 and then restarted my laptop for it to load but it still isn’t working and I keep getting the same error.

sorry if I have posted this is the wrong section.