瀏覽代碼

Restore dotnet projects in build script

ghorsington 4 年之前
父節點
當前提交
48ae68e2b9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      build.cake

+ 2 - 1
build.cake

@@ -69,7 +69,8 @@ Task("Build")
     buildVersion = FindRegexMatchInFile(bepinExProperties + File("AssemblyInfo.cs"), "[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+", System.Text.RegularExpressions.RegexOptions.None);
 
     MSBuild("./BepInEx.sln", new MSBuildSettings {
-        Configuration = "Release"
+        Configuration = "Release",
+        Restore = true
     });
 })
 .Finally(() =>