# Compila la soluzione su Windows (equivalente di scripts/build.sh). # Uso: ./scripts/build.ps1 [-Configuration Release] [-Client] param( [string]$Configuration = "Release", [switch]$Client, [switch]$Test ) $ErrorActionPreference = "Stop" Set-Location (Join-Path $PSScriptRoot "..") $env:DOTNET_CLI_TELEMETRY_OPTOUT = "1" $env:DOTNET_NOLOGO = "1" # Regola: zero pacchetti NuGet fuori dal client Godot. $bad = Get-ChildItem -Recurse -Include *.csproj,*.props,*.targets | Where-Object { $_.FullName -notmatch '[\\/](client|bin|obj|\.git)[\\/]' } | Where-Object { Select-String -Path $_.FullName -Pattern '