Files
ILSpy/build.ps1
T
Siegfried Pammer 6b2852ce49 Set OpenSSL SHA1 flag in build scripts
Local OpenSSL defaults can reject legacy SHA-1 signatures during dotnet operations. Set the required compatibility flag inside the repository scripts so restore, build, publish, clean, and formatting paths do not depend on each caller's shell environment.

Assisted-by: OpenCode:openai/gpt-5.5:OpenCode
2026-07-02 15:43:24 +02:00

11 lines
440 B
PowerShell

#!/usr/bin/env pwsh
# Build ILSpy.sln. Defaults to Debug; pass -Configuration Release for a release build.
# Extra arguments are forwarded to `dotnet build` (e.g. ./build.ps1 -Configuration Release --no-restore).
param(
[ValidateSet('Debug', 'Release')]
[string]$Configuration = 'Debug'
)
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
dotnet build ILSpy.sln -c $Configuration "-p:Platform=Any CPU" @args