diff --git a/about/list_of_features.rst b/about/list_of_features.rst index 1fa786228..33bc68a67 100644 --- a/about/list_of_features.rst +++ b/about/list_of_features.rst @@ -460,14 +460,12 @@ Scripting :ref:`C#: ` - Packaged in a separate binary to keep file sizes and dependencies down. -- Supports .NET 6 and higher. +- Supports .NET 8 and higher. - - Full support for the C# 10.0 syntax and features. + - Full support for the C# 12.0 syntax and features. -- Supports Windows, Linux, and macOS. As of 4.2 experimental support for Android - and iOS is also available (requires a .NET 7.0 project for Android and 8.0 for iOS). +- Supports Windows, Linux, and macOS. Since Godot 4.2, experimental support for Android and iOS is also available. - - On the Android platform only some architectures are supported: ``arm64`` and ``x64``. - On the iOS platform only some architectures are supported: ``arm64``. - The web platform is currently unsupported. To use C# on that platform, consider Godot 3 instead. diff --git a/getting_started/step_by_step/scripting_languages.rst b/getting_started/step_by_step/scripting_languages.rst index bfa72daa0..a1961b2fb 100644 --- a/getting_started/step_by_step/scripting_languages.rst +++ b/getting_started/step_by_step/scripting_languages.rst @@ -115,7 +115,7 @@ should be aware of its garbage collector. can download it on the Godot website's `download `_ page. -Since Godot uses .NET 6, in theory, you can use any third-party .NET library or +Since Godot uses .NET 8, in theory, you can use any third-party .NET library or framework in Godot, as well as any Common Language Infrastructure-compliant programming language, such as F#, Boo, or ClojureCLR. However, C# is the only officially supported .NET option. diff --git a/tutorials/scripting/c_sharp/c_sharp_basics.rst b/tutorials/scripting/c_sharp/c_sharp_basics.rst index 224ec48a3..adfd5c384 100644 --- a/tutorials/scripting/c_sharp/c_sharp_basics.rst +++ b/tutorials/scripting/c_sharp/c_sharp_basics.rst @@ -14,7 +14,7 @@ and (re)visit the :ref:`Scripting section ` of the step-by-step tutorial. C# is a high-level programming language developed by Microsoft. In Godot, -it is implemented with .NET 6.0. +it is implemented with .NET 8.0. .. attention:: diff --git a/tutorials/scripting/c_sharp/c_sharp_style_guide.rst b/tutorials/scripting/c_sharp/c_sharp_style_guide.rst index d82472e90..edf14a680 100644 --- a/tutorials/scripting/c_sharp/c_sharp_style_guide.rst +++ b/tutorials/scripting/c_sharp/c_sharp_style_guide.rst @@ -20,10 +20,10 @@ of the language, we encourage you to do the same, especially if you do not have Language specification ---------------------- -Godot currently uses **C# version 10.0** in its engine and example source code, -as this is the version supported by .NET 6.0 (the current baseline requirement). +Godot currently uses **C# version 12.0** in its engine and example source code, +as this is the version supported by .NET 8.0 (the current baseline requirement). So, before we move to a newer version, care must be taken to avoid mixing -language features only available in C# 11.0 or later. +language features only available in C# 13.0 or later. For detailed information on C# features in different versions, please see `What's New in C# `_. diff --git a/tutorials/scripting/c_sharp/index.rst b/tutorials/scripting/c_sharp/index.rst index 6f61875b0..30911e7d4 100644 --- a/tutorials/scripting/c_sharp/index.rst +++ b/tutorials/scripting/c_sharp/index.rst @@ -42,33 +42,24 @@ C# API may be different from GDScript. C# platform support ------------------- -As of Godot 4.2 projects written in C# support all desktop platforms (Windows, Linux, +.. seealso:: + + See :ref:`doc_system_requirements` for hardware and software version + requirements for the Godot engine. + +.. note:: + + Since C# projects use the .NET runtime, also check the system requirements + for the version of .NET that you'll be using. + See `supported OS `_. + +Since Godot 4.2, projects written in C# support all desktop platforms (Windows, Linux, and macOS), as well as Android and iOS. -Android support is currently experimental and has a few limitations. - -- Projects targeting Android need to target .NET 7.0 or higher. This requires - modifying the `.csproj` file generated by Godot for existing projects. - The following property is added to new projects created with 4.2 and can be - added to existing projects: - - .. code-block:: xml - - net7.0 - -- Only some Android architectures are supported: ``arm64`` and ``x64``. +Android support is currently experimental. iOS support is currently experimental and has a few limitations. -- Projects targeting iOS need to target .NET 8.0 or higher. This requires - modifying the `.csproj` file generated by Godot for existing projects. - The following property is added to new projects created with 4.2 and can be - added to existing projects: - - .. code-block:: xml - - net8.0 - - The official export templates for the iOS simulator only supports the ``x64`` architecture. - Exporting to iOS can only be done from a MacOS device.