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:/unreal/ObstacleAssault/ObstacleAssault.uproject” -game -rocket -progress
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“C:/unreal/ObstacleAssault/ObstacleAssault.uproject” -game -rocket -progress
‘dotnet’ is not recognized as an internal or external command,
operable program or batch file.
Going through a C++ tutorial and when trying to do “new c++ class” from the “tools” bar I get this error, as well as when I try “generate visual studio code project” from the “tools” bar.
In addition to this, if I exit the project after having tried to make a C++ class, and then try to reopen the project it tells me “module is missing or built with an older version” and when I try to rebuild it fails.