From 15449e8df73ba5eaadd7d13771f8950429b0bdf0 Mon Sep 17 00:00:00 2001 From: 31 <31eee384@gmail.com> Date: Sat, 20 Mar 2021 11:12:02 -0500 Subject: [PATCH] Simplify C# NuGet package doc to match 3.2.3+ (cherry picked from commit eb10a4986474a5bf48b014729b87274f49987026) --- .../scripting/c_sharp/c_sharp_basics.rst | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/getting_started/scripting/c_sharp/c_sharp_basics.rst b/getting_started/scripting/c_sharp/c_sharp_basics.rst index 1fe4f653b..9148d298d 100644 --- a/getting_started/scripting/c_sharp/c_sharp_basics.rst +++ b/getting_started/scripting/c_sharp/c_sharp_basics.rst @@ -283,23 +283,13 @@ the ``.csproj`` file located in the project root: :emphasize-lines: 2 - - 11.0.2 - + ... -.. note:: - By default, tools like NuGet put ``Version`` as an attribute of the ```PackageReference``` Node. **You must manually create a Version node as shown above.** This is because the version of MSBuild used requires this. (This will be fixed in Godot 4.0.) - -Whenever packages are added or modified, run ``nuget restore`` (*not* ``dotnet restore``) in the root of the -project directory. To ensure that NuGet packages will be available for -msbuild to use, run: - -.. code-block:: none - - msbuild /t:restore +When Godot builds your project, the .NET Core SDK automatically downloads any +new packages. As of Godot 3.2.3, no special commands are necessary. Profiling your C# code ----------------------