We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f7819 commit ff392f0Copy full SHA for ff392f0
scripts/Publish.ps1
@@ -113,7 +113,7 @@ if (Test-Path $buildPath) {
113
New-Item -ItemType Directory -Path $buildPath -Force
114
115
# Build in release mode
116
-& dotnet.exe restore
+& dotnet.exe restore /p:BuildWithNetFrameworkHostedCompiler=true
117
if ($LASTEXITCODE -ne 0) { throw "Failed to dotnet restore" }
118
$servicePublishDir = Join-Path $buildPath "service"
119
& dotnet.exe publish .\Vpn.Service\Vpn.Service.csproj -c Release -a $arch -o $servicePublishDir /p:Version=$version
0 commit comments