Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions BuildTools/format.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Trigger the commit hook's formatter against the working tree without committing,
# applying the same formatting the pre-commit hook enforces.
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
Push-Location (Join-Path $PSScriptRoot '..')
try {
bash BuildTools/pre-commit --format
Expand Down
1 change: 1 addition & 0 deletions BuildTools/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set -eu

DOTNET_FORMAT_VERSION=10.0.100-rtm.25531.102
DOTNET_FORMAT_SOURCE="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json"
export OPENSSL_ENABLE_SHA1_SIGNATURES=1

# Per-OS tool cache location + binary suffix. Windows uses %LOCALAPPDATA% and a .exe
# suffix; Unix-likes follow the XDG basedir spec (falling back to ~/.local/share) and
Expand Down
1 change: 1 addition & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ param(
[string]$Configuration = 'Debug'
)
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
dotnet build ILSpy.sln -c $Configuration "-p:Platform=Any CPU" @args
1 change: 1 addition & 0 deletions clean.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env pwsh
# Clean the Debug and Release build outputs of ILSpy.sln.
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
dotnet clean ILSpy.sln -c Debug "-p:Platform=Any CPU" @args
dotnet clean ILSpy.sln -c Release "-p:Platform=Any CPU" @args
1 change: 1 addition & 0 deletions publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ param(
[string]$Platform = 'windows'
)
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'

$base = "./ILSpy/bin/$Configuration/net10.0"

Expand Down
5 changes: 4 additions & 1 deletion publishlocaldev.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# For local development of the VSIX package - build and publish (VS2022 also needs arm64)

$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'

$configuration = "Debug"

dotnet build ./ILSpy.sln -c $configuration
Expand All @@ -12,4 +15,4 @@ dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c $configuration --no
$output_arm64 = "./ILSpy/bin/$configuration/net10.0/win-arm64/publish/fwdependent"

dotnet publish ./ILSpy/ILSpy.csproj -c $configuration --no-restore --no-self-contained -r win-arm64 -o $output_arm64
dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c $configuration --no-restore --no-self-contained -r win-arm64 -o $output_arm64
dotnet publish ./ILSpy.ReadyToRun/ILSpy.ReadyToRun.csproj -c $configuration --no-restore --no-self-contained -r win-arm64 -o $output_arm64
1 change: 1 addition & 0 deletions restore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Restore all NuGet packages for ILSpy.sln, honouring the committed packages.lock.json files.
# Use updatedeps.ps1 instead when you have changed a PackageVersion and need to refresh the locks.
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
dotnet restore ILSpy.sln -p:RestoreEnablePackagePruning=false @args
1 change: 1 addition & 0 deletions updatedeps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
# Run this after changing a PackageVersion in Directory.Packages.props (or adding a package),
# then commit the updated lock files.
$ErrorActionPreference = 'Stop'
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
dotnet restore ILSpy.sln --force-evaluate -p:RestoreEnablePackagePruning=false @args
Loading