From 9a274c1297139db3f9310e9b3b8dff1af3d12800 Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Sun, 19 Jul 2026 10:59:58 +0200 Subject: [PATCH] Revert "Use VS2026" This reverts commit 8502d4bd7b44cf2bbdde667f6447c690f47c299f. VS2026 dropped support for Windows 7. Most of binaries produced by VS2026 don't work on Win7 because the use API that doesn't exist on Win7. --- .github/workflows/build.yml | 2 +- Src/BUILDME.txt | 2 +- Src/OpenShell.sln | 4 ++-- Src/Setup/BuildBinaries.bat | 2 -- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d30ef77..6ceb537 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ on: jobs: build: - runs-on: windows-2025-vs2026 + runs-on: windows-2022 outputs: new_version: ${{ steps.versioning.outputs.NEW_VERSION }} steps: diff --git a/Src/BUILDME.txt b/Src/BUILDME.txt index d4b2fa3..b9ed47e 100644 --- a/Src/BUILDME.txt +++ b/Src/BUILDME.txt @@ -5,7 +5,7 @@ for other languages. The final files (installers, archives) are saved to the Setup\Final folder. You need the following tools: -Visual Studio 2026 (Community Edition is enough) +Visual Studio 2022 (Community Edition is enough) - Desktop development with C++ workload - Windows 11 SDK (10.0.22621.0) for Desktop C++ - Visual C++ ATL support diff --git a/Src/OpenShell.sln b/Src/OpenShell.sln index 6944fab..c53d1eb 100644 --- a/Src/OpenShell.sln +++ b/Src/OpenShell.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 18 -VisualStudioVersion = 18.6.11806.211 stable +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33205.214 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Skins", "Skins", "{409484D8-C0DB-4991-AF03-124128EDEF98}" EndProject diff --git a/Src/Setup/BuildBinaries.bat b/Src/Setup/BuildBinaries.bat index 6811cad..d375c76 100644 --- a/Src/Setup/BuildBinaries.bat +++ b/Src/Setup/BuildBinaries.bat @@ -8,8 +8,6 @@ md Output md Output\x64 md Output\ARM64 -"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -property installationName - echo -- Compiling for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do set MSBuildDir=%%i\MSBuild\Current\Bin\