Skip to content

Commit 4d94693

Browse files
committed
BuildBin.*.cmd: Restore the NuGet package before building.
1 parent 827c6fb commit 4d94693

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

BuildBin.vs2019.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ goto :eof
2525
:BuildBin
2626

2727
del /s Build\%1\Release\WinWebDiff\*.exe
28+
MSBuild WinWebDiff.vs2019.sln /t:restore /p:RestorePackagesConfig=true || pause
2829
MSBuild WinWebDiff.vs2019.sln /t:rebuild /p:Configuration=Release /p:Platform="%1" || pause
2930

3031
if exist "%SIGNBAT_PATH%" (

BuildBin.vs2022.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ goto :eof
2525
:BuildBin
2626

2727
del /s Build\%1\Release\WinWebDiff\*.exe
28+
MSBuild WinWebDiff.vs2022.sln /t:restore /p:RestorePackagesConfig=true || pause
2829
MSBuild WinWebDiff.vs2022.sln /t:rebuild /p:Configuration=Release /p:Platform="%1" || pause
2930

3031
if exist "%SIGNBAT_PATH%" (

0 commit comments

Comments
 (0)