summaryrefslogtreecommitdiff
path: root/modules/mono/SCsub
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-10-23 09:25:16 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-10-23 10:54:49 +0200
commit64b5ee701070e26a90702d345a1ee3188024d7ac (patch)
tree8dbb69f9aab3f7bbf06c92fa76076df433460075 /modules/mono/SCsub
parentd5073c6b4ce864f169e4e1ad18d411fe5928c766 (diff)
C#: Make editor create NuGet fallback folder for Godot packages
Main benefits: - Projects can be built offline. Previously you needed internet access the first time building to download the packages. - Changes to packages like Godot.NET.Sdk can be easily tested before publishing. This was already possible but required too many manual steps. - First time builds are a bit faster, as the Sdk package doesn't need to be downloaded. In practice, the package is very small so it makes little difference. Bumped Godot.NET.Sdk to 4.0.0-dev3 in order to enable the recent changes regarding '.mono/' -> '.godot/mono/'.
Diffstat (limited to 'modules/mono/SCsub')
-rw-r--r--modules/mono/SCsub5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/mono/SCsub b/modules/mono/SCsub
index e8f3174a0a..3b94949470 100644
--- a/modules/mono/SCsub
+++ b/modules/mono/SCsub
@@ -40,6 +40,11 @@ if env_mono["tools"] and env_mono["mono_glue"] and env_mono["build_cil"]:
godot_tools_build.build(env_mono, api_sln_cmd)
+ # Build Godot.NET.Sdk
+ import build_scripts.godot_net_sdk_build as godot_net_sdk_build
+
+ godot_net_sdk_build.build(env_mono)
+
# Add sources
env_mono.add_source_files(env.modules_sources, "*.cpp")