From 8e694fe10be23feae1c9a0785789c8daa8bd4f70 Mon Sep 17 00:00:00 2001
From: Andrey Volk <andywolk@gmail.com>
Date: Sat, 2 Mar 2024 03:20:06 +0300
Subject: [PATCH] [Build-System] Upgrade legacy Windows SDK to 10.0 in Visual
 Studio projects.

---
 libs/esl/managed/esl.2017.vcxproj                         | 2 +-
 libs/win32/civetweb/duktape_lib.vcxproj                   | 2 +-
 libs/win32/civetweb/lua_lib.vcxproj                       | 2 +-
 libs/win32/ffmpeg/ffmpeg.2017.vcxproj                     | 2 +-
 libs/win32/libav/libav.2017.vcxproj                       | 2 +-
 libs/win32/libyuv/libyuv.2017.vcxproj                     | 2 +-
 libs/win32/speex/libspeexdsp.2017.vcxproj                 | 2 +-
 src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj | 2 +-
 tests/unit/test_switch_core.2017.vcxproj                  | 2 +-
 tests/unit/test_switch_core_codec.2017.vcxproj            | 2 +-
 tests/unit/test_switch_core_db.2017.vcxproj               | 2 +-
 tests/unit/test_switch_ivr_originate.2017.vcxproj         | 2 +-
 w32/Library/FreeSwitchCore.2017.vcxproj                   | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/libs/esl/managed/esl.2017.vcxproj b/libs/esl/managed/esl.2017.vcxproj
index f004381411..a140d2d296 100644
--- a/libs/esl/managed/esl.2017.vcxproj
+++ b/libs/esl/managed/esl.2017.vcxproj
@@ -23,7 +23,7 @@
     <ProjectGuid>{FEA2D0AE-6713-4E41-A473-A143849BC7FF}</ProjectGuid>
     <RootNamespace>ESL</RootNamespace>
     <Keyword>ManagedCProj</Keyword>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
diff --git a/libs/win32/civetweb/duktape_lib.vcxproj b/libs/win32/civetweb/duktape_lib.vcxproj
index c5ada61614..5a157971a0 100644
--- a/libs/win32/civetweb/duktape_lib.vcxproj
+++ b/libs/win32/civetweb/duktape_lib.vcxproj
@@ -22,7 +22,7 @@
     <ProjectGuid>{0A11689C-DB6A-4BF6-97B2-AD32DB863FBD}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <RootNamespace>duktape_lib</RootNamespace>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
diff --git a/libs/win32/civetweb/lua_lib.vcxproj b/libs/win32/civetweb/lua_lib.vcxproj
index 35b9f448b8..d2b5d7503e 100644
--- a/libs/win32/civetweb/lua_lib.vcxproj
+++ b/libs/win32/civetweb/lua_lib.vcxproj
@@ -22,7 +22,7 @@
     <ProjectGuid>{8F5E5D77-D269-4665-9E27-1045DA6CF0D8}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <RootNamespace>lua_lib</RootNamespace>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
diff --git a/libs/win32/ffmpeg/ffmpeg.2017.vcxproj b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj
index b985670dbe..4c70bf6c71 100644
--- a/libs/win32/ffmpeg/ffmpeg.2017.vcxproj
+++ b/libs/win32/ffmpeg/ffmpeg.2017.vcxproj
@@ -21,7 +21,7 @@
   <PropertyGroup Label="Globals">
     <ProjectName>ffmpeg</ProjectName>
     <RootNamespace>ffmpeg</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{BC1FD72E-1CD5-4525-A7F5-17C5740BFDED}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(SolutionDir)w32\zlib.props" Condition=" '$(zlibImported)' == '' " />
diff --git a/libs/win32/libav/libav.2017.vcxproj b/libs/win32/libav/libav.2017.vcxproj
index df547c3a7c..1b4ed945b7 100644
--- a/libs/win32/libav/libav.2017.vcxproj
+++ b/libs/win32/libav/libav.2017.vcxproj
@@ -21,7 +21,7 @@
   <PropertyGroup Label="Globals">
     <ProjectName>libav</ProjectName>
     <RootNamespace>libav</RootNamespace>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{841C345F-FCC7-4F64-8F54-0281CEABEB01}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(SolutionDir)\w32\yasm.props" Condition=" '$(YasmPropsImported)' == '' " />
diff --git a/libs/win32/libyuv/libyuv.2017.vcxproj b/libs/win32/libyuv/libyuv.2017.vcxproj
index 136ac5119b..f74f7e1203 100644
--- a/libs/win32/libyuv/libyuv.2017.vcxproj
+++ b/libs/win32/libyuv/libyuv.2017.vcxproj
@@ -23,7 +23,7 @@
     <ProjectGuid>{B6E22500-3DB6-4E6E-8CD5-591B781D7D99}</ProjectGuid>
     <RootNamespace>libyuv</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
diff --git a/libs/win32/speex/libspeexdsp.2017.vcxproj b/libs/win32/speex/libspeexdsp.2017.vcxproj
index 3c50103da9..4e2ba30453 100644
--- a/libs/win32/speex/libspeexdsp.2017.vcxproj
+++ b/libs/win32/speex/libspeexdsp.2017.vcxproj
@@ -38,7 +38,7 @@
     <ProjectGuid>{03207781-0D1C-4DB3-A71D-45C608F28DBD}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <ProjectName>libspeexdsp</ProjectName>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <Import Project="$(SolutionDir)\w32\download_speex.props" Condition=" '$(downloadspeexPropsImported)' == '' " />
diff --git a/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj b/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj
index 11dd386ff1..da6fdb97c3 100644
--- a/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj
+++ b/src/mod/applications/mod_av/test/test_mod_av.2017.vcxproj
@@ -22,7 +22,7 @@
     <ProjectName>test_mod_av</ProjectName>
     <RootNamespace>test_mod_av</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{7926CB0D-62CE-4A09-AE94-1DA2BC92D625}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/tests/unit/test_switch_core.2017.vcxproj b/tests/unit/test_switch_core.2017.vcxproj
index c9e1cd5423..453e4a6bb8 100644
--- a/tests/unit/test_switch_core.2017.vcxproj
+++ b/tests/unit/test_switch_core.2017.vcxproj
@@ -22,7 +22,7 @@
     <ProjectName>test_switch_core</ProjectName>
     <RootNamespace>test_switch_core</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{EF62B845-A0CE-44FD-B8E6-475FE87D06C3}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/tests/unit/test_switch_core_codec.2017.vcxproj b/tests/unit/test_switch_core_codec.2017.vcxproj
index 1434d80475..9c30374327 100644
--- a/tests/unit/test_switch_core_codec.2017.vcxproj
+++ b/tests/unit/test_switch_core_codec.2017.vcxproj
@@ -22,7 +22,7 @@
     <ProjectName>test_switch_core_codec</ProjectName>
     <RootNamespace>test_switch_core_codec</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{589A07E7-5DE5-49FD-A62C-27795B806AFB}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/tests/unit/test_switch_core_db.2017.vcxproj b/tests/unit/test_switch_core_db.2017.vcxproj
index 9a419d556d..956e708977 100644
--- a/tests/unit/test_switch_core_db.2017.vcxproj
+++ b/tests/unit/test_switch_core_db.2017.vcxproj
@@ -22,7 +22,7 @@
     <ProjectName>test_switch_core_db</ProjectName>
     <RootNamespace>test_switch_core_db</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{580675D7-C1C9-4197-AAC5-00F64FAFDE78}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/tests/unit/test_switch_ivr_originate.2017.vcxproj b/tests/unit/test_switch_ivr_originate.2017.vcxproj
index 78769a0b36..6ca24a11bb 100644
--- a/tests/unit/test_switch_ivr_originate.2017.vcxproj
+++ b/tests/unit/test_switch_ivr_originate.2017.vcxproj
@@ -22,7 +22,7 @@
     <ProjectName>test_switch_ivr_originate</ProjectName>
     <RootNamespace>test_switch_ivr_originate</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     <ProjectGuid>{69A7464A-9B0D-4804-A108-835229DACF58}</ProjectGuid>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/w32/Library/FreeSwitchCore.2017.vcxproj b/w32/Library/FreeSwitchCore.2017.vcxproj
index 2f7a3239bd..dbb0d5b7d1 100644
--- a/w32/Library/FreeSwitchCore.2017.vcxproj
+++ b/w32/Library/FreeSwitchCore.2017.vcxproj
@@ -23,7 +23,7 @@
     <ProjectGuid>{202D7A4E-760D-4D0E-AFA1-D7459CED30FF}</ProjectGuid>
     <RootNamespace>FreeSwitchCoreLib</RootNamespace>
     <Keyword>Win32Proj</Keyword>
-    <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">