From d68f5ff0cd90b73037e5bddf6b267865ee62777e Mon Sep 17 00:00:00 2001 From: Felix Bytow Date: Wed, 4 Sep 2024 18:27:25 +0200 Subject: [PATCH] Mention --no-deprecated in Compiling with .NET --- .../development/compiling/compiling_with_dotnet.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contributing/development/compiling/compiling_with_dotnet.rst b/contributing/development/compiling/compiling_with_dotnet.rst index a544f97b5..03b12ad23 100644 --- a/contributing/development/compiling/compiling_with_dotnet.rst +++ b/contributing/development/compiling/compiling_with_dotnet.rst @@ -129,6 +129,16 @@ source and that conflicting versions of the package are removed from the NuGet cache. It's recommended to always use this option when building the C# solutions during development to avoid mistakes. +Building without depending on deprecated features (NO_DEPRECATED) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +When building Godot without deprecated classes and functions, i.e. the ``deprecated=no`` +argument for scons, the managed libraries must also be built without dependencies to deprecated code. +This is done by passing the ``--no-deprecated`` argument: + +:: + ./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local --no-deprecated + Double Precision Support (REAL_T_IS_DOUBLE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^