Add 'dotnet restore' command to Appveyor build script

Ensure all necessary packages are restored before building the solution. This change helps prevent build failures due to missing dependencies and aligns the build process with best practices.

Signed-off-by: Ivandro Jao <Ivandrofly@gmail.com>
This commit is contained in:
Ivandro Jao 2024-10-01 19:52:19 +01:00
parent 1659ebe1c3
commit c6c51b224f

View File

@ -9,6 +9,7 @@ configuration:
- Release
build_script:
- dotnet restore SubtitleEdit.sln
- msbuild "SubtitleEdit.sln" /r /v:minimal /clp:summary /p:"Platform=%PLATFORM%" /p:"Configuration=%CONFIGURATION%" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
test_script:
@ -16,3 +17,5 @@ test_script:
matrix:
fast_finish: true
# https://www.appveyor.com/docs/appveyor-yml/