From dd2c713d0279c7d883ce82d54506cc0b83ad4f77 Mon Sep 17 00:00:00 2001 From: Bruce Dawson Date: Tue, 26 Jul 2022 20:35:28 -0400 Subject: [PATCH] Build UIforETW with VS 2022 This changes various UIforETW related projects to build with VS 2022, and updates the packaging script to use that version. --- DummyChrome/DummyChrome.vcxproj | 4 ++-- ETWEventDemo/ETWEventDemo.vcxproj | 8 ++++---- ETWInsights/base/base.vcxproj | 4 ++-- ETWInsights/etw_reader/etw_reader.vcxproj | 4 ++-- ETWInsights/flame_graph/flame_graph.vcxproj | 4 ++-- ETWProviders/ETWProviders.vcxproj | 14 +++++++------- EventEmitter/EventEmitter.vcxproj | 8 ++++---- RetrieveSymbols/RetrieveSymbols.vcxproj | 4 ++-- UIforETW/UIforETW.vcxproj | 12 ++++++------ package_etw.bat | 6 +++--- 10 files changed, 34 insertions(+), 34 deletions(-) diff --git a/DummyChrome/DummyChrome.vcxproj b/DummyChrome/DummyChrome.vcxproj index 2aa2ee7b..c9d7cda8 100644 --- a/DummyChrome/DummyChrome.vcxproj +++ b/DummyChrome/DummyChrome.vcxproj @@ -19,13 +19,13 @@ DynamicLibrary true - v120 + v143 Unicode DynamicLibrary false - v120 + v143 true Unicode diff --git a/ETWEventDemo/ETWEventDemo.vcxproj b/ETWEventDemo/ETWEventDemo.vcxproj index 744759e8..e5ff1298 100644 --- a/ETWEventDemo/ETWEventDemo.vcxproj +++ b/ETWEventDemo/ETWEventDemo.vcxproj @@ -27,26 +27,26 @@ Application true - v120 + v143 Unicode Application true - v120 + v143 Unicode Application false - v120 + v143 true Unicode Application false - v120 + v143 true Unicode diff --git a/ETWInsights/base/base.vcxproj b/ETWInsights/base/base.vcxproj index fc7b8b16..3b2df686 100644 --- a/ETWInsights/base/base.vcxproj +++ b/ETWInsights/base/base.vcxproj @@ -19,13 +19,13 @@ StaticLibrary true - v142 + v143 Unicode StaticLibrary false - v142 + v143 true Unicode diff --git a/ETWInsights/etw_reader/etw_reader.vcxproj b/ETWInsights/etw_reader/etw_reader.vcxproj index 4a42e2f2..80f99523 100644 --- a/ETWInsights/etw_reader/etw_reader.vcxproj +++ b/ETWInsights/etw_reader/etw_reader.vcxproj @@ -36,13 +36,13 @@ StaticLibrary true - v142 + v143 Unicode StaticLibrary false - v142 + v143 true Unicode diff --git a/ETWInsights/flame_graph/flame_graph.vcxproj b/ETWInsights/flame_graph/flame_graph.vcxproj index 6fb8dae7..7531a696 100644 --- a/ETWInsights/flame_graph/flame_graph.vcxproj +++ b/ETWInsights/flame_graph/flame_graph.vcxproj @@ -19,13 +19,13 @@ Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode diff --git a/ETWProviders/ETWProviders.vcxproj b/ETWProviders/ETWProviders.vcxproj index f3daf76c..3cce1831 100644 --- a/ETWProviders/ETWProviders.vcxproj +++ b/ETWProviders/ETWProviders.vcxproj @@ -30,47 +30,47 @@ {5136829D-E7F2-48CA-971E-27D26821C00D} Win32Proj ETWProviders - 10.0.17763.0 + 10.0 DynamicLibrary true Unicode - v141 + v143 DynamicLibrary true Unicode - v141 + v143 DynamicLibrary true Unicode - v141 + v143 DynamicLibrary false true Unicode - v141 + v143 DynamicLibrary false true Unicode - v141 + v143 DynamicLibrary false true Unicode - v141 + v143 diff --git a/EventEmitter/EventEmitter.vcxproj b/EventEmitter/EventEmitter.vcxproj index 88b2fd83..daf3c094 100644 --- a/EventEmitter/EventEmitter.vcxproj +++ b/EventEmitter/EventEmitter.vcxproj @@ -28,14 +28,14 @@ Application true - v142 + v143 Unicode Static Application false - v142 + v143 true Unicode Static @@ -43,14 +43,14 @@ Application true - v142 + v143 Unicode Static Application false - v142 + v143 true Unicode Static diff --git a/RetrieveSymbols/RetrieveSymbols.vcxproj b/RetrieveSymbols/RetrieveSymbols.vcxproj index dae69d99..98bbd0ba 100644 --- a/RetrieveSymbols/RetrieveSymbols.vcxproj +++ b/RetrieveSymbols/RetrieveSymbols.vcxproj @@ -19,13 +19,13 @@ Application true - v142 + v143 Unicode Application false - v142 + v143 true Unicode diff --git a/UIforETW/UIforETW.vcxproj b/UIforETW/UIforETW.vcxproj index aaa318a2..d2c1c2ae 100644 --- a/UIforETW/UIforETW.vcxproj +++ b/UIforETW/UIforETW.vcxproj @@ -36,28 +36,28 @@ Application true - v142 + v143 Unicode Dynamic Application true - v142 + v143 Unicode Dynamic Application true - v142 + v143 Unicode Dynamic Application false - v142 + v143 true Unicode Dynamic @@ -65,7 +65,7 @@ Application false - v142 + v143 true Unicode Dynamic @@ -73,7 +73,7 @@ Application false - v142 + v143 true Unicode Dynamic diff --git a/package_etw.bat b/package_etw.bat index d1ea9601..29c2fd92 100644 --- a/package_etw.bat +++ b/package_etw.bat @@ -33,11 +33,11 @@ xcopy "%wpt10%Licenses\10.0.22000.0\sdk_license.rtf" %destdir%\third_party\wpt10 ren %destdir%\third_party\wpt10\sdk_license.rtf LICENSE.rtf @rem Add VS tools to the path. Also adds signtool.exe to the path. -set vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" +set vcvars32="c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" if exist %vcvars32% goto community_installed -set vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars32.bat" +set vcvars32="C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" :community_installed -call %vcvars32% +call %vcvars32% amd64 @rem Build DelayedCreateProcess.exe to the bin directory @echo Building DelayedCreateProcess.exe