소스 검색

Restore dotnet projects in build script

ghorsington 5 년 전
부모
커밋
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(() =>