From 05169b88f14942da3a65be5bea81d7673025f466 Mon Sep 17 00:00:00 2001 From: dusted <64309553+J-Dusted@users.noreply.github.com> Date: Sat, 14 Nov 2026 21:02:29 +0800 Subject: [PATCH] build: support Visual Studio 2026 toolset (#63) * build: support Visual Studio 2026 toolset and add build helper - Replace hardcoded PlatformToolset v143 with $(DefaultPlatformToolset) in all projects (VS2022 => v143, VS2026 => v145), fixing "v143 build tools not found" on newer VS. - Add build.ps1 convenience build script (auto-locates MSBuild). - Add BUILD.md with build/run notes for Windows 10.0.26300 (26H2) + VS 2026. * chore: remove build.ps1 and BUILD.md per maintainer review Only the project toolset changes are wanted in the PR. --------- Co-authored-by: J-Dusted --- defendnot-loader/defendnot-loader.vcxproj | 12 ++++++------ defendnot/defendnot.vcxproj | 12 ++++++------ wsc-binary-check/wsc-binary-check.vcxproj | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/defendnot-loader/defendnot-loader.vcxproj b/defendnot-loader/defendnot-loader.vcxproj index 8b83374..1fb4c31 100644 --- a/defendnot-loader/defendnot-loader.vcxproj +++ b/defendnot-loader/defendnot-loader.vcxproj @@ -37,39 +37,39 @@ Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode diff --git a/defendnot/defendnot.vcxproj b/defendnot/defendnot.vcxproj index fdd85a6..17e855a 100644 --- a/defendnot/defendnot.vcxproj +++ b/defendnot/defendnot.vcxproj @@ -37,39 +37,39 @@ DynamicLibrary true - v143 + $(DefaultPlatformToolset) Unicode DynamicLibrary false - v143 + $(DefaultPlatformToolset) true Unicode DynamicLibrary true - v143 + $(DefaultPlatformToolset) Unicode DynamicLibrary false - v143 + $(DefaultPlatformToolset) true Unicode DynamicLibrary true - v143 + $(DefaultPlatformToolset) Unicode DynamicLibrary false - v143 + $(DefaultPlatformToolset) true Unicode diff --git a/wsc-binary-check/wsc-binary-check.vcxproj b/wsc-binary-check/wsc-binary-check.vcxproj index 02427b8..29f2846 100644 --- a/wsc-binary-check/wsc-binary-check.vcxproj +++ b/wsc-binary-check/wsc-binary-check.vcxproj @@ -37,39 +37,39 @@ Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode Application true - v143 + $(DefaultPlatformToolset) Unicode Application false - v143 + $(DefaultPlatformToolset) true Unicode