Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit dd2c713

Browse files
committed
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.
1 parent daccee6 commit dd2c713

File tree

10 files changed

+34
-34
lines changed

10 files changed

+34
-34
lines changed

DummyChrome/DummyChrome.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2020
<ConfigurationType>DynamicLibrary</ConfigurationType>
2121
<UseDebugLibraries>true</UseDebugLibraries>
22-
<PlatformToolset>v120</PlatformToolset>
22+
<PlatformToolset>v143</PlatformToolset>
2323
<CharacterSet>Unicode</CharacterSet>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2626
<ConfigurationType>DynamicLibrary</ConfigurationType>
2727
<UseDebugLibraries>false</UseDebugLibraries>
28-
<PlatformToolset>v120</PlatformToolset>
28+
<PlatformToolset>v143</PlatformToolset>
2929
<WholeProgramOptimization>true</WholeProgramOptimization>
3030
<CharacterSet>Unicode</CharacterSet>
3131
</PropertyGroup>

ETWEventDemo/ETWEventDemo.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2828
<ConfigurationType>Application</ConfigurationType>
2929
<UseDebugLibraries>true</UseDebugLibraries>
30-
<PlatformToolset>v120</PlatformToolset>
30+
<PlatformToolset>v143</PlatformToolset>
3131
<CharacterSet>Unicode</CharacterSet>
3232
</PropertyGroup>
3333
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3434
<ConfigurationType>Application</ConfigurationType>
3535
<UseDebugLibraries>true</UseDebugLibraries>
36-
<PlatformToolset>v120</PlatformToolset>
36+
<PlatformToolset>v143</PlatformToolset>
3737
<CharacterSet>Unicode</CharacterSet>
3838
</PropertyGroup>
3939
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4040
<ConfigurationType>Application</ConfigurationType>
4141
<UseDebugLibraries>false</UseDebugLibraries>
42-
<PlatformToolset>v120</PlatformToolset>
42+
<PlatformToolset>v143</PlatformToolset>
4343
<WholeProgramOptimization>true</WholeProgramOptimization>
4444
<CharacterSet>Unicode</CharacterSet>
4545
</PropertyGroup>
4646
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4747
<ConfigurationType>Application</ConfigurationType>
4848
<UseDebugLibraries>false</UseDebugLibraries>
49-
<PlatformToolset>v120</PlatformToolset>
49+
<PlatformToolset>v143</PlatformToolset>
5050
<WholeProgramOptimization>true</WholeProgramOptimization>
5151
<CharacterSet>Unicode</CharacterSet>
5252
</PropertyGroup>

ETWInsights/base/base.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2020
<ConfigurationType>StaticLibrary</ConfigurationType>
2121
<UseDebugLibraries>true</UseDebugLibraries>
22-
<PlatformToolset>v142</PlatformToolset>
22+
<PlatformToolset>v143</PlatformToolset>
2323
<CharacterSet>Unicode</CharacterSet>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2626
<ConfigurationType>StaticLibrary</ConfigurationType>
2727
<UseDebugLibraries>false</UseDebugLibraries>
28-
<PlatformToolset>v142</PlatformToolset>
28+
<PlatformToolset>v143</PlatformToolset>
2929
<WholeProgramOptimization>true</WholeProgramOptimization>
3030
<CharacterSet>Unicode</CharacterSet>
3131
</PropertyGroup>

ETWInsights/etw_reader/etw_reader.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3737
<ConfigurationType>StaticLibrary</ConfigurationType>
3838
<UseDebugLibraries>true</UseDebugLibraries>
39-
<PlatformToolset>v142</PlatformToolset>
39+
<PlatformToolset>v143</PlatformToolset>
4040
<CharacterSet>Unicode</CharacterSet>
4141
</PropertyGroup>
4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4343
<ConfigurationType>StaticLibrary</ConfigurationType>
4444
<UseDebugLibraries>false</UseDebugLibraries>
45-
<PlatformToolset>v142</PlatformToolset>
45+
<PlatformToolset>v143</PlatformToolset>
4646
<WholeProgramOptimization>true</WholeProgramOptimization>
4747
<CharacterSet>Unicode</CharacterSet>
4848
</PropertyGroup>

ETWInsights/flame_graph/flame_graph.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2020
<ConfigurationType>Application</ConfigurationType>
2121
<UseDebugLibraries>true</UseDebugLibraries>
22-
<PlatformToolset>v142</PlatformToolset>
22+
<PlatformToolset>v143</PlatformToolset>
2323
<CharacterSet>Unicode</CharacterSet>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2626
<ConfigurationType>Application</ConfigurationType>
2727
<UseDebugLibraries>false</UseDebugLibraries>
28-
<PlatformToolset>v142</PlatformToolset>
28+
<PlatformToolset>v143</PlatformToolset>
2929
<WholeProgramOptimization>true</WholeProgramOptimization>
3030
<CharacterSet>Unicode</CharacterSet>
3131
</PropertyGroup>

ETWProviders/ETWProviders.vcxproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,47 +30,47 @@
3030
<ProjectGuid>{5136829D-E7F2-48CA-971E-27D26821C00D}</ProjectGuid>
3131
<Keyword>Win32Proj</Keyword>
3232
<RootNamespace>ETWProviders</RootNamespace>
33-
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
33+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
3434
</PropertyGroup>
3535
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3636
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3737
<ConfigurationType>DynamicLibrary</ConfigurationType>
3838
<UseDebugLibraries>true</UseDebugLibraries>
3939
<CharacterSet>Unicode</CharacterSet>
40-
<PlatformToolset>v141</PlatformToolset>
40+
<PlatformToolset>v143</PlatformToolset>
4141
</PropertyGroup>
4242
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4343
<ConfigurationType>DynamicLibrary</ConfigurationType>
4444
<UseDebugLibraries>true</UseDebugLibraries>
4545
<CharacterSet>Unicode</CharacterSet>
46-
<PlatformToolset>v141</PlatformToolset>
46+
<PlatformToolset>v143</PlatformToolset>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
4949
<ConfigurationType>DynamicLibrary</ConfigurationType>
5050
<UseDebugLibraries>true</UseDebugLibraries>
5151
<CharacterSet>Unicode</CharacterSet>
52-
<PlatformToolset>v141</PlatformToolset>
52+
<PlatformToolset>v143</PlatformToolset>
5353
</PropertyGroup>
5454
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
5555
<ConfigurationType>DynamicLibrary</ConfigurationType>
5656
<UseDebugLibraries>false</UseDebugLibraries>
5757
<WholeProgramOptimization>true</WholeProgramOptimization>
5858
<CharacterSet>Unicode</CharacterSet>
59-
<PlatformToolset>v141</PlatformToolset>
59+
<PlatformToolset>v143</PlatformToolset>
6060
</PropertyGroup>
6161
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
6262
<ConfigurationType>DynamicLibrary</ConfigurationType>
6363
<UseDebugLibraries>false</UseDebugLibraries>
6464
<WholeProgramOptimization>true</WholeProgramOptimization>
6565
<CharacterSet>Unicode</CharacterSet>
66-
<PlatformToolset>v141</PlatformToolset>
66+
<PlatformToolset>v143</PlatformToolset>
6767
</PropertyGroup>
6868
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
6969
<ConfigurationType>DynamicLibrary</ConfigurationType>
7070
<UseDebugLibraries>false</UseDebugLibraries>
7171
<WholeProgramOptimization>true</WholeProgramOptimization>
7272
<CharacterSet>Unicode</CharacterSet>
73-
<PlatformToolset>v141</PlatformToolset>
73+
<PlatformToolset>v143</PlatformToolset>
7474
</PropertyGroup>
7575
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
7676
<ImportGroup Label="ExtensionSettings">

EventEmitter/EventEmitter.vcxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,29 @@
2828
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2929
<ConfigurationType>Application</ConfigurationType>
3030
<UseDebugLibraries>true</UseDebugLibraries>
31-
<PlatformToolset>v142</PlatformToolset>
31+
<PlatformToolset>v143</PlatformToolset>
3232
<CharacterSet>Unicode</CharacterSet>
3333
<UseOfMfc>Static</UseOfMfc>
3434
</PropertyGroup>
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3636
<ConfigurationType>Application</ConfigurationType>
3737
<UseDebugLibraries>false</UseDebugLibraries>
38-
<PlatformToolset>v142</PlatformToolset>
38+
<PlatformToolset>v143</PlatformToolset>
3939
<WholeProgramOptimization>true</WholeProgramOptimization>
4040
<CharacterSet>Unicode</CharacterSet>
4141
<UseOfMfc>Static</UseOfMfc>
4242
</PropertyGroup>
4343
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4444
<ConfigurationType>Application</ConfigurationType>
4545
<UseDebugLibraries>true</UseDebugLibraries>
46-
<PlatformToolset>v142</PlatformToolset>
46+
<PlatformToolset>v143</PlatformToolset>
4747
<CharacterSet>Unicode</CharacterSet>
4848
<UseOfMfc>Static</UseOfMfc>
4949
</PropertyGroup>
5050
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
5151
<ConfigurationType>Application</ConfigurationType>
5252
<UseDebugLibraries>false</UseDebugLibraries>
53-
<PlatformToolset>v142</PlatformToolset>
53+
<PlatformToolset>v143</PlatformToolset>
5454
<WholeProgramOptimization>true</WholeProgramOptimization>
5555
<CharacterSet>Unicode</CharacterSet>
5656
<UseOfMfc>Static</UseOfMfc>

RetrieveSymbols/RetrieveSymbols.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
2020
<ConfigurationType>Application</ConfigurationType>
2121
<UseDebugLibraries>true</UseDebugLibraries>
22-
<PlatformToolset>v142</PlatformToolset>
22+
<PlatformToolset>v143</PlatformToolset>
2323
<CharacterSet>Unicode</CharacterSet>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2626
<ConfigurationType>Application</ConfigurationType>
2727
<UseDebugLibraries>false</UseDebugLibraries>
28-
<PlatformToolset>v142</PlatformToolset>
28+
<PlatformToolset>v143</PlatformToolset>
2929
<WholeProgramOptimization>true</WholeProgramOptimization>
3030
<CharacterSet>Unicode</CharacterSet>
3131
</PropertyGroup>

UIforETW/UIforETW.vcxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,44 +36,44 @@
3636
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3737
<ConfigurationType>Application</ConfigurationType>
3838
<UseDebugLibraries>true</UseDebugLibraries>
39-
<PlatformToolset>v142</PlatformToolset>
39+
<PlatformToolset>v143</PlatformToolset>
4040
<CharacterSet>Unicode</CharacterSet>
4141
<UseOfMfc>Dynamic</UseOfMfc>
4242
</PropertyGroup>
4343
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
4444
<ConfigurationType>Application</ConfigurationType>
4545
<UseDebugLibraries>true</UseDebugLibraries>
46-
<PlatformToolset>v142</PlatformToolset>
46+
<PlatformToolset>v143</PlatformToolset>
4747
<CharacterSet>Unicode</CharacterSet>
4848
<UseOfMfc>Dynamic</UseOfMfc>
4949
</PropertyGroup>
5050
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
5151
<ConfigurationType>Application</ConfigurationType>
5252
<UseDebugLibraries>true</UseDebugLibraries>
53-
<PlatformToolset>v142</PlatformToolset>
53+
<PlatformToolset>v143</PlatformToolset>
5454
<CharacterSet>Unicode</CharacterSet>
5555
<UseOfMfc>Dynamic</UseOfMfc>
5656
</PropertyGroup>
5757
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
5858
<ConfigurationType>Application</ConfigurationType>
5959
<UseDebugLibraries>false</UseDebugLibraries>
60-
<PlatformToolset>v142</PlatformToolset>
60+
<PlatformToolset>v143</PlatformToolset>
6161
<WholeProgramOptimization>true</WholeProgramOptimization>
6262
<CharacterSet>Unicode</CharacterSet>
6363
<UseOfMfc>Dynamic</UseOfMfc>
6464
</PropertyGroup>
6565
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
6666
<ConfigurationType>Application</ConfigurationType>
6767
<UseDebugLibraries>false</UseDebugLibraries>
68-
<PlatformToolset>v142</PlatformToolset>
68+
<PlatformToolset>v143</PlatformToolset>
6969
<WholeProgramOptimization>true</WholeProgramOptimization>
7070
<CharacterSet>Unicode</CharacterSet>
7171
<UseOfMfc>Dynamic</UseOfMfc>
7272
</PropertyGroup>
7373
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
7474
<ConfigurationType>Application</ConfigurationType>
7575
<UseDebugLibraries>false</UseDebugLibraries>
76-
<PlatformToolset>v142</PlatformToolset>
76+
<PlatformToolset>v143</PlatformToolset>
7777
<WholeProgramOptimization>true</WholeProgramOptimization>
7878
<CharacterSet>Unicode</CharacterSet>
7979
<UseOfMfc>Dynamic</UseOfMfc>

package_etw.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ xcopy "%wpt10%Licenses\10.0.22000.0\sdk_license.rtf" %destdir%\third_party\wpt10
3333
ren %destdir%\third_party\wpt10\sdk_license.rtf LICENSE.rtf
3434

3535
@rem Add VS tools to the path. Also adds signtool.exe to the path.
36-
set vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
36+
set vcvars32="c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat"
3737
if exist %vcvars32% goto community_installed
38-
set vcvars32="C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars32.bat"
38+
set vcvars32="C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat"
3939
:community_installed
40-
call %vcvars32%
40+
call %vcvars32% amd64
4141

4242
@rem Build DelayedCreateProcess.exe to the bin directory
4343
@echo Building DelayedCreateProcess.exe

0 commit comments

Comments
 (0)