Commit a4712007 authored by m0sa's avatar m0sa

but restore needs the package version suffix

parent e14971e4
......@@ -7,7 +7,7 @@ $packageOutputFolder = "$PSScriptRoot\.nupkgs"
# Restore packages and build product
Write-Host "Restoring..." -ForegroundColor "Green"
& dotnet restore -v Minimal # Restore all packages
& dotnet msbuild /t:Restore /nologo /m /v:m "/p:PackageVersionSuffix=$PreReleaseSuffix" # Restore all packages
if ($LASTEXITCODE -ne 0)
{
throw "dotnet restore failed with exit code $LASTEXITCODE"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment