scripts/Windows/prepare_dotnet_runtime.ps1
if (Test-Path $env:SystemDrive\dotnet-runtime-installed.txt) { Write-Host "Pre-compiling .NET assemblies, this can take a 15-20 minutes..." -ForegroundColor Cyan & $env:windir\Microsoft.NET\Framework64\v4.0.30319\ngen update /force | Out-Null Write-Host "Pre-compilation completed" -ForegroundColor Green Remove-Item $env:SystemDrive\dotnet-runtime-installed.txt } |