[ci]Rename WindowStylesReportTool to StylesReportTool (#17950)

This commit is contained in:
Jaime Bernardo
2022-04-28 12:20:05 +01:00
committed by GitHub
parent e703551b4a
commit f42409cb17
16 changed files with 28 additions and 28 deletions

View File

@@ -17,7 +17,7 @@
"PowerToys.Interop.dll", "PowerToys.Interop.dll",
"BugReportTool\\PowerToys.BugReportTool.exe", "BugReportTool\\PowerToys.BugReportTool.exe",
"WebcamReportTool\\PowerToys.WebcamReportTool.exe", "WebcamReportTool\\PowerToys.WebcamReportTool.exe",
"WindowStylesReportTool\\PowerToys.WindowStylesReportTool.exe", "StylesReportTool\\PowerToys.StylesReportTool.exe",
"Telemetry.dll", "Telemetry.dll",
"PowerToys.ManagedTelemetry.dll", "PowerToys.ManagedTelemetry.dll",
"PowerToys.ManagedCommon.dll", "PowerToys.ManagedCommon.dll",

View File

@@ -77,18 +77,18 @@ steps:
maximumCpuCount: true maximumCpuCount: true
- task: NuGetCommand@2 - task: NuGetCommand@2
displayName: Restore NuGet packages for WindowStylesReportTool.sln displayName: Restore NuGet packages for StylesReportTool.sln
inputs: inputs:
command: restore command: restore
feedsToUse: config feedsToUse: config
configPath: NuGet.config configPath: NuGet.config
restoreSolution: tools\WindowStylesReportTool\WindowStylesReportTool.sln restoreSolution: tools\StylesReportTool\StylesReportTool.sln
restoreDirectory: '$(Build.SourcesDirectory)\tools\WindowStylesReportTool\packages' restoreDirectory: '$(Build.SourcesDirectory)\tools\StylesReportTool\packages'
- task: VSBuild@1 - task: VSBuild@1
displayName: 'Build WindowStylesReportTool.sln' displayName: 'Build StylesReportTool.sln'
inputs: inputs:
solution: '**\WindowStylesReportTool.sln' solution: '**\StylesReportTool.sln'
vsVersion: 17.0 vsVersion: 17.0
platform: '$(BuildPlatform)' platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)' configuration: '$(BuildConfiguration)'

View File

@@ -156,9 +156,9 @@ jobs:
maximumCpuCount: true maximumCpuCount: true
- task: VSBuild@1 - task: VSBuild@1
displayName: Build WindowStylesReportTool displayName: Build StylesReportTool
inputs: inputs:
solution: '**/tools/WindowStylesReportTool/WindowStylesReportTool.sln' solution: '**/tools/StylesReportTool/StylesReportTool.sln'
vsVersion: 17.0 vsVersion: 17.0
msbuildArgs: /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog msbuildArgs: /p:CIBuild=true /bl:$(Build.SourcesDirectory)\msbuild.binlog
platform: $(BuildPlatform) platform: $(BuildPlatform)

View File

@@ -66,7 +66,7 @@ The installer can only be compiled in `Release` mode, step 1 and 2 must be done
1. Compile `PowerToys.sln`. Instructions are listed above. 1. Compile `PowerToys.sln`. Instructions are listed above.
2. Compile `BugReportTool.sln` tool. Path from root: `tools\BugReportTool\BugReportTool.sln` (details listed below) 2. Compile `BugReportTool.sln` tool. Path from root: `tools\BugReportTool\BugReportTool.sln` (details listed below)
3. Compile `WebcamReportTool.sln` tool. Path from root: `tools\WebcamReportTool\WebcamReportTool.sln` (details listed below) 3. Compile `WebcamReportTool.sln` tool. Path from root: `tools\WebcamReportTool\WebcamReportTool.sln` (details listed below)
3. Compile `WindowStylesReportTool.sln` tool. Path from root: `tools\WindowStylesReportTool\WindowStylesReportTool.sln` (details listed below) 3. Compile `StylesReportTool.sln` tool. Path from root: `tools\StylesReportTool\StylesReportTool.sln` (details listed below)
4. Compile `PowerToysSetup.sln` Path from root: `installer\PowerToysSetup.sln` (details listed below) 4. Compile `PowerToysSetup.sln` Path from root: `installer\PowerToysSetup.sln` (details listed below)
### Prerequisites for building the MSI installer ### Prerequisites for building the MSI installer
@@ -88,7 +88,7 @@ The installer can only be compiled in `Release` mode, step 1 and 2 must be done
### Locally compiling the Window styles reporting tool ### Locally compiling the Window styles reporting tool
1. Open `tools\WindowStylesReportTool\WindowStylesReportTool.sln` 1. Open `tools\StylesReportTool\StylesReportTool.sln`
2. In Visual Studio, in the `Solutions Configuration` drop-down menu select `Release` 2. In Visual Studio, in the `Solutions Configuration` drop-down menu select `Release`
3. From the `Build` menu, choose `Build Solution`. 3. From the `Build` menu, choose `Build Solution`.

View File

@@ -616,8 +616,8 @@
<Component Id="WebcamReportTool_exe" Win64="yes"> <Component Id="WebcamReportTool_exe" Win64="yes">
<File Source="$(var.BinDir)WebcamReportTool\PowerToys.WebcamReportTool.exe" Id="WebcamReportTool.exe" Checksum="yes" /> <File Source="$(var.BinDir)WebcamReportTool\PowerToys.WebcamReportTool.exe" Id="WebcamReportTool.exe" Checksum="yes" />
</Component> </Component>
<Component Id="WindowStylesReportTool_exe" Win64="yes"> <Component Id="StylesReportTool_exe" Win64="yes">
<File Source="$(var.BinDir)WindowStylesReportTool\PowerToys.WindowStylesReportTool.exe" Id="WindowStylesReportTool.exe" Checksum="yes" /> <File Source="$(var.BinDir)StylesReportTool\PowerToys.StylesReportTool.exe" Id="StylesReportTool.exe" Checksum="yes" />
</Component> </Component>
</DirectoryRef> </DirectoryRef>
@@ -1052,7 +1052,7 @@
<ComponentGroup Id="ToolComponents" Directory="ToolsFolder"> <ComponentGroup Id="ToolComponents" Directory="ToolsFolder">
<ComponentRef Id="BugReportTool_exe" /> <ComponentRef Id="BugReportTool_exe" />
<ComponentRef Id="WebcamReportTool_exe" /> <ComponentRef Id="WebcamReportTool_exe" />
<ComponentRef Id="WindowStylesReportTool_exe" /> <ComponentRef Id="StylesReportTool_exe" />
</ComponentGroup> </ComponentGroup>
</Fragment> </Fragment>

View File

@@ -1,6 +1,6 @@
//{{NO_DEPENDENCIES}} //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file. // Microsoft Visual C++ generated include file.
// Used by WindowStylesReportTool.rc // Used by StylesReportTool.rc
#define IDR_MAINFRAME 128 #define IDR_MAINFRAME 128
#define IDD_ABOUTBOX 103 #define IDD_ABOUTBOX 103

View File

@@ -1,5 +1,5 @@
#include "pch.h" #include "pch.h"
#include "WindowStylesReportTool.h" #include "StylesReportTool.h"
#include <dwmapi.h> #include <dwmapi.h>
#include <shlobj.h> #include <shlobj.h>
@@ -344,7 +344,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
UNREFERENCED_PARAMETER(hPrevInstance); UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine); UNREFERENCED_PARAMETER(lpCmdLine);
Logger::init("WindowStylesReportTool"); Logger::init("StylesReportTool");
WNDCLASSEXW wcex; WNDCLASSEXW wcex;
wcex.cbSize = sizeof(WNDCLASSEX); wcex.cbSize = sizeof(WNDCLASSEX);
@@ -357,7 +357,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
wcex.lpszMenuName = L""; wcex.lpszMenuName = L"";
wcex.lpszClassName = L"WindowStylesReportTool"; wcex.lpszClassName = L"StylesReportTool";
wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALLICON)); wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALLICON));
if (!RegisterClassExW(&wcex)) if (!RegisterClassExW(&wcex))
@@ -366,7 +366,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
return FALSE; return FALSE;
} }
HWND hWnd = CreateWindowW(L"WindowStylesReportTool", L"Window Style Report Tool", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, 600, 200, nullptr, nullptr, hInstance, nullptr); HWND hWnd = CreateWindowW(L"StylesReportTool", L"Window Style Report Tool", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, 600, 200, nullptr, nullptr, hInstance, nullptr);
if (!hWnd) if (!hWnd)
{ {
Logger::log(L"Window creation error: {}", get_last_error_or_default(GetLastError())); Logger::log(L"Window creation error: {}", get_last_error_or_default(GetLastError()));

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148 VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WindowStylesReportTool", "WindowStylesReportTool.vcxproj", "{0FEBAFAF-CB77-41F0-8EF9-8E3AD4B4F842}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StylesReportTool", "StylesReportTool.vcxproj", "{0FEBAFAF-CB77-41F0-8EF9-8E3AD4B4F842}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@@ -14,7 +14,7 @@
<VCProjectVersion>16.0</VCProjectVersion> <VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<ProjectGuid>{0febafaf-cb77-41f0-8ef9-8e3ad4b4f842}</ProjectGuid> <ProjectGuid>{0febafaf-cb77-41f0-8ef9-8e3ad4b4f842}</ProjectGuid>
<RootNamespace>WindowStylesReportTool</RootNamespace> <RootNamespace>StylesReportTool</RootNamespace>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
@@ -87,22 +87,22 @@
</Link> </Link>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="WindowStylesReportTool.h" /> <ClInclude Include="StylesReportTool.h" />
<ClInclude Include="pch.h" /> <ClInclude Include="pch.h" />
<ClInclude Include="Resource.h" /> <ClInclude Include="Resource.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="WindowStylesReportTool.cpp" /> <ClCompile Include="StylesReportTool.cpp" />
<ClCompile Include="pch.cpp"> <ClCompile Include="pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader> <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="WindowStylesReportTool.rc" /> <ResourceCompile Include="StylesReportTool.rc" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Image Include="WindowStylesReportTool.ico" /> <Image Include="StylesReportTool.ico" />
<Image Include="small.ico" /> <Image Include="small.ico" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@@ -18,7 +18,7 @@
<ClInclude Include="Resource.h"> <ClInclude Include="Resource.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="WindowStylesReportTool.h"> <ClInclude Include="StylesReportTool.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="pch.h"> <ClInclude Include="pch.h">
@@ -26,7 +26,7 @@
</ClInclude> </ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="WindowStylesReportTool.cpp"> <ClCompile Include="StylesReportTool.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="pch.cpp"> <ClCompile Include="pch.cpp">
@@ -34,7 +34,7 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ResourceCompile Include="WindowStylesReportTool.rc"> <ResourceCompile Include="StylesReportTool.rc">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</ResourceCompile> </ResourceCompile>
</ItemGroup> </ItemGroup>
@@ -42,7 +42,7 @@
<Image Include="small.ico"> <Image Include="small.ico">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</Image> </Image>
<Image Include="WindowStylesReportTool.ico"> <Image Include="StylesReportTool.ico">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</Image> </Image>
</ItemGroup> </ItemGroup>

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB