Skip to content

Commit b507765

Browse files
authored
Merge pull request godotengine#9901 from Drako/godotsharp-no-deprecated
Mention --no-deprecated in Compiling with .NET
2 parents 973e5e6 + d68f5ff commit b507765

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contributing/development/compiling/compiling_with_dotnet.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ source and that conflicting versions of the package are removed from the NuGet
129129
cache. It's recommended to always use this option when building the C# solutions
130130
during development to avoid mistakes.
131131

132+
Building without depending on deprecated features (NO_DEPRECATED)
133+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134+
135+
When building Godot without deprecated classes and functions, i.e. the ``deprecated=no``
136+
argument for scons, the managed libraries must also be built without dependencies to deprecated code.
137+
This is done by passing the ``--no-deprecated`` argument:
138+
139+
::
140+
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local <my_local_source> --no-deprecated
141+
132142
Double Precision Support (REAL_T_IS_DOUBLE)
133143
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
134144

0 commit comments

Comments
 (0)