summaryrefslogtreecommitdiff
path: root/modules/mono/build_scripts/solution_builder.py
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-06-26 07:49:40 +0200
committerGitHub <noreply@github.com>2020-06-26 07:49:40 +0200
commitaa42bd14ac232936647bb1abb4161bb4244a49a4 (patch)
tree499c3d1463842602e39036d9012887b46f69189f /modules/mono/build_scripts/solution_builder.py
parent38cfaadcf9cac5ba966c20bd7a8330b54de4080b (diff)
parent4b0c78b3ca0aa3433de440f07d68f83b0f8558cc (diff)
Merge pull request #39839 from neikeq/use-/restore-instead-of-/t-restore
Mono/C#: Use /restore instead of /t:restore when building
Diffstat (limited to 'modules/mono/build_scripts/solution_builder.py')
-rw-r--r--modules/mono/build_scripts/solution_builder.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/mono/build_scripts/solution_builder.py b/modules/mono/build_scripts/solution_builder.py
index 371819fd72..03f4e57f02 100644
--- a/modules/mono/build_scripts/solution_builder.py
+++ b/modules/mono/build_scripts/solution_builder.py
@@ -142,9 +142,7 @@ def build_solution(env, solution_path, build_config, extra_msbuild_args=[]):
# Build solution
- targets = ["Restore", "Build"]
-
- msbuild_args += [solution_path, "/t:%s" % ",".join(targets), "/p:Configuration=" + build_config]
+ msbuild_args += [solution_path, "/restore", "/t:Build", "/p:Configuration=" + build_config]
msbuild_args += extra_msbuild_args
run_command(msbuild_path, msbuild_args, env_override=msbuild_env, name="msbuild")