.NET correct version not found

Godot Version

4.5.1 .NET

Question

Step 0:

  • Install Visual studio 2026 insiders, everything selected, comes with .NET 10

Step 1:

  • Install .NET 8
winget install Microsoft.DotNet.SDK.8
winget install Microsoft.DotNet.DesktopRuntime.8

Step 2:
Install Godot for the first time v4.5.1 .NET.

Step 3:
Run, create project, attach C#, during that error:

Godot Engine v4.5.1.stable.mono.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started on port 6006 ---
--- GDScript language server started on port 6005 ---
  ERROR: /root/godot/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs:13 - System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
  ERROR: File name: 'System.Runtime, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
  ERROR:    at GodotTools.ProjectEditor.ProjectGenerator.GenAndSaveGameProject(String dir, String name)
  ERROR:    at GodotTools.CsProjOperations.GenerateGameProject(String dir, String name) in /root/godot/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs:line 1

Step 4:
Check versions:

dotnet.exe --list-sdks
8.0.415 [C:\Program Files\dotnet\sdk]
10.0.100-rc.2.25502.107 [C:\Program Files\dotnet\sdk]

What am I doing wrong? Might be something obvious, but not clear - first time ever install. Am I able to point it to correct SDK/runtime via some config file?

As far as I know, for the latest version of Godot, you need Dotnet 9.

1 Like

Thank you, indeed! Adding .NET 9 SDK worked.