This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+1 vote

The installation instructions for the C# version of Godot are confusing. Which .NET / Mono SDK needs to be installed for Godot 3.4 and 3.5, on Windows, in order to compile and run a C# Godot project?
"Requirements: For the Mono version: .NET SDK or the Mono SDK"
"Install the latest stable version of the .NET SDK, previously known as the .NET Core SDK."
"You need .NET Framework 4.7 exactly, not the latest version."
"Install .NET SDK 5.0 from"

.NET 5.0 is an "Out of support version".

So, which is it? Will it work with .NET 6.0? (I can't test it myself. I need to give correct installation instructions to others.)

Godot version 3.4.4
in Engine by (19 points)

1 Answer

0 votes

Answering my own question: It seems to work with .NET 6.0.

by (19 points)

Does it? I can't get the streamreader to work which throws some weird error.
Unhandled Exception:
System.TypeLoadException: Could not resolve type with token 0100000d from typere
f (expected class 'System.IO.StreamReader' in assembly 'System.Runtime, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a')

The streamreader works fine if I just use netstandard 2.1 or netcore 3.1. With that I mean I use those as my target framework:

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.