Files
lddc/bin/build.ps1
T
2026-11-04 14:13:04 +01:00

11 lines
414 B
PowerShell

$csc = "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe"
if (-not (Test-Path $csc)) {
$csc = "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe"
}
if (-not (Test-Path $csc)) {
Write-Error "Compilatore .NET Framework csc.exe non trovato (Framework64 / Framework)."
exit 1
}
& $csc /nologo /unsafe /optimize+ /target:exe /out:bin\LoopbackCapture.exe bin\LoopbackCapture.cs
exit $LASTEXITCODE