C++ Error

I keep getting the following error whenever I try to open a project in C++:
Running D:/Unreal Engine/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/Users/conor/Documents/Unreal Projects/MyProject2/MyProject2.uproject” -game -rocket -progress
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“C:/Users/conor/Documents/Unreal Projects/MyProject2/MyProject2.uproject” -game -rocket -progress
‘dotnet’ is not recognized as an internal or external command,
operable program or batch file.

Does anyone have any recommendations for how I can fix this?

Hello @GavinCutter and welcome!

Check this out, it might be a simple solution to your issue!