C#: Fix restore not called when building game projects
(cherry picked from commit 4a30289eee
)
This commit is contained in:
parent
ad18e16389
commit
accc30e5e0
|
@ -120,7 +120,12 @@ namespace GodotTools.Build
|
|||
if (buildTool == BuildTool.DotnetCli)
|
||||
arguments += "msbuild"; // `dotnet msbuild` command
|
||||
|
||||
arguments += $@"""{buildInfo.Solution}"" /t:{string.Join(",", buildInfo.Targets)} " +
|
||||
arguments += $@" ""{buildInfo.Solution}""";
|
||||
|
||||
if (buildInfo.Restore)
|
||||
arguments += " /restore";
|
||||
|
||||
arguments += $@" /t:{string.Join(",", buildInfo.Targets)} " +
|
||||
$@"""/p:{"Configuration=" + buildInfo.Configuration}"" /v:normal " +
|
||||
$@"""/l:{typeof(GodotBuildLogger).FullName},{GodotBuildLogger.AssemblyPath};{buildInfo.LogsDirPath}""";
|
||||
|
||||
|
|
Loading…
Reference in New Issue