Add Visual Studio 2026 support

Updated platform toolset configuration to support VS 2026 (v145) while
maintaining backward compatibility with VS 2022 (v143). The build system
now automatically selects the appropriate toolset based on the Visual
Studio version being used.

Changes:
- Updated Cpp.Build.props to conditionally use v145 toolset for VS 2026
- Updated all 115 vcxproj files with conditional platform toolset
- Verified successful build with Visual Studio 2026 (MSBuild 18.0.5)

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Shawn Yuan (from Dev Box)
2026-01-26 15:53:28 +08:00
parent 4ba6fd2723
commit a7a53e9726
115 changed files with 1229 additions and 886 deletions

View File

@@ -13,12 +13,16 @@
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset Condition="'\$\(VisualStudioVersion\)' == '18.0'">v145</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset Condition="'\$\(VisualStudioVersion\)' == '18.0'">v145</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>