We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f35414 commit 82bc712Copy full SHA for 82bc712
scripts/Publish.ps1
@@ -104,6 +104,8 @@ if (Test-Path $buildPath) {
104
New-Item -ItemType Directory -Path $buildPath -Force
105
106
# Build in release mode
107
+& dotnet.exe restore
108
+if ($LASTEXITCODE -ne 0) { throw "Failed to dotnet restore" }
109
$servicePublishDir = Join-Path $buildPath "service"
110
& dotnet.exe publish .\Vpn.Service\Vpn.Service.csproj -c Release -a $arch -o $servicePublishDir
111
if ($LASTEXITCODE -ne 0) { throw "Failed to build Vpn.Service" }
0 commit comments