From d395e73a80ce213208ffd19d6732d353fa17564b Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Tue, 9 Jun 2026 13:32:31 +0200 Subject: [PATCH] Run SortResX with pwsh on non-Windows hosts The SortResX target only set its command on Windows (powershell), so the resx-sorting build step was a silent no-op on Linux/macOS even though pwsh (PowerShell 7+) is available there -- mirror the PowerShell cmdlet project's powershell/pwsh split. The included Resources.resx change is that step catching up one entry (ExportProjectSolution) that had drifted out of order while the target was disabled. The script is EOL-preserving, so this stays LF with no cross-OS churn. Assisted-by: Claude:claude-opus-4-8:Claude Code --- ILSpy/ILSpy.csproj | 3 +++ ILSpy/Properties/Resources.resx | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index 6ce7e7749..39dd0ab8e 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -193,6 +193,9 @@ powershell -NoProfile -ExecutionPolicy Bypass -File BuildTools/sort-resx.ps1 + + pwsh -NoProfile -ExecutionPolicy Bypass -File BuildTools/sort-resx.ps1 + diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 712b1d12a..34cf2a046 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -660,6 +660,9 @@ Are you sure you want to continue? Expand using declarations after decompilation + + Export Project/Solution... + Extract all package entries @@ -675,9 +678,6 @@ Are you sure you want to continue? Forward - - Export Project/Solution... - Generate portable PDB