Hello. I just downloaded Unreal Engine and Visual Studio. When attempting to create my first project, I get this error message:
An error occurred while trying to generate project files.
Running C:/Program Files/Epic Games/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/VsGames/MyProject/MyProject.uproject” -game -rocket -progress
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“C:/VsGames/MyProject/MyProject.uproject” -game -rocket -progress
‘dotnet’ is not recognized as an internal or external command,
operable program or batch file.
I’ve searched for a solution and read through many forums. I downloaded .NET 7.0 from the Windows website, but I’m still getting the same error message. Any help would be appreciated.