Topic was automatically imported from the old Question2Answer platform.
Asked By
KBS
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?
says:
“Requirements: For the Mono version: .NET SDK or the Mono SDK”
says:
“Install the latest stable version of the .NET SDK, previously known as the .NET Core SDK.”
says:
“You need .NET Framework 4.7 exactly, not the latest version.”
Answering my own question: It seems to work with .NET 6.0.
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=
6.0.0.0, 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:
net6.0