Running D:/Unreal/UE_5.1/Engine/Build/BatchFiles/Build.bat -projectfiles -project=“C:/UnrealGames/MyProject/MyProject.uproject” -game -rocket -progress
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” -projectfiles -project=“C:/UnrealGames/MyProject/MyProject.uproject” -game -rocket -progress
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc9b23ffcd2ddd32’. The system cannot find the file specified.
File name: ‘netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc79b23ffcd2ddd32’
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray)
Every time I try to build my unreal c++ code it fails and this error pops up. I’ve tried everything I could think of, even creating a new project. But this error pops up even if I try to create a new c++ project. If you have any suggestions please tell me.