From 6ab1233f5ca9eb197aef70b3f2cf77c22aba11fa Mon Sep 17 00:00:00 2001 From: "Gordon Lam (SH)" Date: Thu, 5 Feb 2026 16:07:36 -0800 Subject: [PATCH] build: restore /await project settings --- .../PowerToysSetupCustomActionsVNext.vcxproj | 8 +-- src/common/updating/updating.vcxproj | 20 +++---- .../FileLocksmithCLI/FileLocksmithCLI.vcxproj | 20 +++---- .../WorkspacesLauncher.vcxproj | 31 +++++----- .../WorkspacesSnapshotTool.vcxproj | 31 +++++----- .../WorkspacesWindowArranger.vcxproj | 29 ++++----- src/modules/ZoomIt/ZoomIt/ZoomIt.vcxproj | 18 +++--- .../fancyzones/FancyZones/FancyZones.vcxproj | 29 ++++----- .../KeyboardManagerEditor.vcxproj | 59 ++++++++++--------- .../KeyboardManagerEditorLibrary.vcxproj | 44 +++++++------- .../common/PreviewHandlerCommon.csproj | 6 +- 11 files changed, 150 insertions(+), 145 deletions(-) diff --git a/installer/PowerToysSetupCustomActionsVNext/PowerToysSetupCustomActionsVNext.vcxproj b/installer/PowerToysSetupCustomActionsVNext/PowerToysSetupCustomActionsVNext.vcxproj index e808c2c646..9e07a41049 100644 --- a/installer/PowerToysSetupCustomActionsVNext/PowerToysSetupCustomActionsVNext.vcxproj +++ b/installer/PowerToysSetupCustomActionsVNext/PowerToysSetupCustomActionsVNext.vcxproj @@ -1,9 +1,8 @@ - + - - + {B3A354B0-1E54-4B55-A962-FB5AF9330C19} @@ -11,6 +10,7 @@ PowerToysSetupCustomActionsVNext PowerToysSetupCustomActionsVNext + DynamicLibrary Unicode @@ -88,7 +88,7 @@ inc;..\..\src\;..\..\src\common\Telemetry;telemetry;%(AdditionalIncludeDirectories) - /Zc:twoPhase- /Wv:18 %(AdditionalOptions) + /await /Zc:twoPhase- /Wv:18 %(AdditionalOptions) Level4 ProgramDatabase diff --git a/src/common/updating/updating.vcxproj b/src/common/updating/updating.vcxproj index ffc321c979..cf3fb9b175 100644 --- a/src/common/updating/updating.vcxproj +++ b/src/common/updating/updating.vcxproj @@ -1,7 +1,6 @@ - - + 16.0 {17DA04DF-E393-4397-9CF0-84DABE11032E} @@ -9,13 +8,14 @@ updating ApplicationUpdate - + + StaticLibrary - + @@ -26,7 +26,7 @@ - ..\;..\..\;$(RepoRoot)src\;%(AdditionalIncludeDirectories) + ..\;..\..\;..\..\..\;%(AdditionalIncludeDirectories) _LIB;%(PreprocessorDefinitions) @@ -57,15 +57,15 @@ - - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/modules/FileLocksmith/FileLocksmithCLI/FileLocksmithCLI.vcxproj b/src/modules/FileLocksmith/FileLocksmithCLI/FileLocksmithCLI.vcxproj index 79a56c1e3f..a8f2d46b97 100644 --- a/src/modules/FileLocksmith/FileLocksmithCLI/FileLocksmithCLI.vcxproj +++ b/src/modules/FileLocksmith/FileLocksmithCLI/FileLocksmithCLI.vcxproj @@ -1,7 +1,6 @@ - - + 17.0 Win32Proj @@ -10,7 +9,8 @@ 10.0 FileLocksmithCLI - + + Application true @@ -31,7 +31,7 @@ - $(RepoRoot)$(Platform)\$(Configuration) + ..\..\..\..\$(Platform)\$(Configuration) @@ -90,13 +90,13 @@ {9d52fd25-ef90-4f9a-a015-91efc5daf54f} - + {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd} - + {6955446d-23f7-4023-9bb3-8657f904af99} - + {1248566c-272a-43c0-88d6-e6675d569a09} @@ -105,13 +105,13 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + diff --git a/src/modules/Workspaces/WorkspacesLauncher/WorkspacesLauncher.vcxproj b/src/modules/Workspaces/WorkspacesLauncher/WorkspacesLauncher.vcxproj index 0d5e19c490..8faf362704 100644 --- a/src/modules/Workspaces/WorkspacesLauncher/WorkspacesLauncher.vcxproj +++ b/src/modules/Workspaces/WorkspacesLauncher/WorkspacesLauncher.vcxproj @@ -1,11 +1,10 @@ - - + - + @@ -14,6 +13,7 @@ false true stdcpplatest + /await %(AdditionalOptions) _UNICODE;UNICODE;%(PreprocessorDefinitions) @@ -64,6 +64,7 @@ Unicode Spectre + true true @@ -84,7 +85,7 @@ PowerToys.$(MSBuildProjectName) - $(RepoRoot)$(Platform)\$(Configuration)\ + ..\..\..\..\$(Platform)\$(Configuration)\ true @@ -98,7 +99,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -114,7 +115,7 @@ true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -148,13 +149,13 @@ - + {caba8dfb-823b-4bf2-93ac-3f31984150d9} - + {6955446d-23f7-4023-9bb3-8657f904af99} - + {8f021b46-362b-485c-bfba-ccf83e820cbd} @@ -171,17 +172,17 @@ - + - - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/modules/Workspaces/WorkspacesSnapshotTool/WorkspacesSnapshotTool.vcxproj b/src/modules/Workspaces/WorkspacesSnapshotTool/WorkspacesSnapshotTool.vcxproj index bf1964cfa2..00f0633f11 100644 --- a/src/modules/Workspaces/WorkspacesSnapshotTool/WorkspacesSnapshotTool.vcxproj +++ b/src/modules/Workspaces/WorkspacesSnapshotTool/WorkspacesSnapshotTool.vcxproj @@ -1,11 +1,10 @@ - - + - + @@ -14,6 +13,7 @@ false true stdcpplatest + /await %(AdditionalOptions) _UNICODE;UNICODE;%(PreprocessorDefinitions) @@ -64,6 +64,7 @@ Unicode Spectre + true true @@ -84,7 +85,7 @@ PowerToys.$(MSBuildProjectName) - $(RepoRoot)$(Platform)\$(Configuration)\ + ..\..\..\..\$(Platform)\$(Configuration)\ true @@ -98,7 +99,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -114,7 +115,7 @@ true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -140,13 +141,13 @@ - + {caba8dfb-823b-4bf2-93ac-3f31984150d9} - + {1d5be09d-78c0-4fd7-af00-ae7c1af7c525} - + {6955446d-23f7-4023-9bb3-8657f904af99} @@ -163,17 +164,17 @@ - + - - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/modules/Workspaces/WorkspacesWindowArranger/WorkspacesWindowArranger.vcxproj b/src/modules/Workspaces/WorkspacesWindowArranger/WorkspacesWindowArranger.vcxproj index 52354a8319..85d2c021ba 100644 --- a/src/modules/Workspaces/WorkspacesWindowArranger/WorkspacesWindowArranger.vcxproj +++ b/src/modules/Workspaces/WorkspacesWindowArranger/WorkspacesWindowArranger.vcxproj @@ -1,11 +1,10 @@ - - + - + @@ -14,6 +13,7 @@ false true stdcpplatest + /await %(AdditionalOptions) _UNICODE;UNICODE;%(PreprocessorDefinitions) @@ -64,6 +64,7 @@ Unicode Spectre + true true @@ -84,7 +85,7 @@ PowerToys.$(MSBuildProjectName) - $(RepoRoot)$(Platform)\$(Configuration)\ + ..\..\..\..\$(Platform)\$(Configuration)\ true @@ -98,7 +99,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -114,7 +115,7 @@ true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -142,10 +143,10 @@ - + {caba8dfb-823b-4bf2-93ac-3f31984150d9} - + {6955446d-23f7-4023-9bb3-8657f904af99} @@ -162,17 +163,17 @@ - + - - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/modules/ZoomIt/ZoomIt/ZoomIt.vcxproj b/src/modules/ZoomIt/ZoomIt/ZoomIt.vcxproj index 159f292433..6dbacd0016 100644 --- a/src/modules/ZoomIt/ZoomIt/ZoomIt.vcxproj +++ b/src/modules/ZoomIt/ZoomIt/ZoomIt.vcxproj @@ -1,7 +1,6 @@  - - + Debug @@ -39,6 +38,7 @@ false + false @@ -370,12 +370,12 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - + + + + - - - + + + diff --git a/src/modules/fancyzones/FancyZones/FancyZones.vcxproj b/src/modules/fancyzones/FancyZones/FancyZones.vcxproj index 3da4e9ad10..cc0513799d 100644 --- a/src/modules/fancyzones/FancyZones/FancyZones.vcxproj +++ b/src/modules/fancyzones/FancyZones/FancyZones.vcxproj @@ -1,9 +1,8 @@ - - + @@ -11,6 +10,7 @@ false true stdcpplatest + /await %(AdditionalOptions) _UNICODE;UNICODE;%(PreprocessorDefinitions) @@ -61,6 +61,7 @@ Unicode Spectre + true true @@ -81,7 +82,7 @@ PowerToys.$(MSBuildProjectName) - $(RepoRoot)$(Platform)\$(Configuration)\ + ..\..\..\..\$(Platform)\$(Configuration)\ true @@ -95,7 +96,7 @@ true _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -111,7 +112,7 @@ true NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - ./../;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src\common;$(RepoRoot)src\;./;%(AdditionalIncludeDirectories) + ./../;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src\common;$(SolutionDir)src\;./;%(AdditionalIncludeDirectories) Windows @@ -139,13 +140,13 @@ - + {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd} - + {6955446d-23f7-4023-9bb3-8657f904af99} - + {8f021b46-362b-485c-bfba-ccf83e820cbd} @@ -153,17 +154,17 @@ - + - - + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - + + + \ No newline at end of file diff --git a/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.vcxproj b/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.vcxproj index 6901176bd7..ef6a9b29f5 100644 --- a/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.vcxproj +++ b/src/modules/keyboardmanager/KeyboardManagerEditor/KeyboardManagerEditor.vcxproj @@ -1,10 +1,9 @@ - - - - + + + 81010002 @@ -15,6 +14,7 @@ false true stdcpplatest + /await %(AdditionalOptions) _UNICODE;UNICODE;_WINDOWS;%(PreprocessorDefinitions) @@ -60,8 +60,8 @@ - v143 - $(RepoRoot)$(Platform)\$(Configuration)\$(MSBuildProjectName)\ + + ..\..\..\..\$(Platform)\$(Configuration)\$(MSBuildProjectName)\ Unicode Spectre Application @@ -77,6 +77,7 @@ true false + @@ -88,22 +89,22 @@ - ./;$(RepoRoot)src\modules\;$(RepoRoot)src\modules\KeyboardManager\KeyboardManagerEditorLibrary\;$(RepoRoot)src\common\Display;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src;%(AdditionalIncludeDirectories) + ./;$(SolutionDir)src\modules\;$(SolutionDir)src\modules\KeyboardManager\KeyboardManagerEditorLibrary\;$(SolutionDir)src\common\Display;$(SolutionDir)src\common\inc;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src;%(AdditionalIncludeDirectories) Display.lib;shcore.lib;Dbghelp.lib;dwmapi.lib;uxtheme.lib;%(AdditionalDependencies) - $(RepoRoot)$(Platform)\$(ConfigurationName);%(AdditionalLibraryDirectories) + $(SolutionDir)$(Platform)\$(ConfigurationName);%(AdditionalLibraryDirectories) - ./;$(RepoRoot)src\modules\;$(RepoRoot)src\modules\KeyboardManager\KeyboardManagerEditorLibrary\;$(RepoRoot)src\common\Display;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src;%(AdditionalIncludeDirectories) + ./;$(SolutionDir)src\modules\;$(SolutionDir)src\modules\KeyboardManager\KeyboardManagerEditorLibrary\;$(SolutionDir)src\common\Display;$(SolutionDir)src\common\inc;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src;%(AdditionalIncludeDirectories) true true Display.lib;shcore.lib;Dbghelp.lib;dwmapi.lib;uxtheme.lib;%(AdditionalDependencies) - $(RepoRoot)$(Platform)\$(ConfigurationName);%(AdditionalLibraryDirectories) + $(SolutionDir)$(Platform)\$(ConfigurationName);%(AdditionalLibraryDirectories) @@ -125,16 +126,16 @@ - + {caba8dfb-823b-4bf2-93ac-3f31984150d9} - + {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd} - + {8f021b46-362b-485c-bfba-ccf83e820cbd} - + {98537082-0fdb-40de-abd8-0dc5a4269bab} @@ -160,28 +161,28 @@ - - - - - + + + + + - + - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - - + + + + + + + + diff --git a/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorLibrary.vcxproj b/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorLibrary.vcxproj index 167d300fa7..57f61380e0 100644 --- a/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorLibrary.vcxproj +++ b/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/KeyboardManagerEditorLibrary.vcxproj @@ -1,18 +1,18 @@ - - - - + + + 16.0 Win32Proj {23d2070d-e4ad-4add-85a7-083d9c76ad49} KeyboardManagerEditorLibrary + StaticLibrary - $(RepoRoot)$(Platform)\$(Configuration)\ + ..\..\..\..\$(Platform)\$(Configuration)\ @@ -29,7 +29,7 @@ Level3 - ./;$(RepoRoot)src\modules\;$(RepoRoot)src\common\Display;$(RepoRoot)src\common\inc;$(RepoRoot)src\common\Telemetry;$(RepoRoot)src;%(AdditionalIncludeDirectories) + ./;$(SolutionDir)src\modules\;$(SolutionDir)src\common\Display;$(SolutionDir)src\common\inc;$(SolutionDir)src\common\Telemetry;$(SolutionDir)src;%(AdditionalIncludeDirectories) true _LIB;%(PreprocessorDefinitions) @@ -83,13 +83,13 @@ - + {caba8dfb-823b-4bf2-93ac-3f31984150d9} - + {d9b8fc84-322a-4f9f-bbb9-20915c47ddfd} - + {98537082-0fdb-40de-abd8-0dc5a4269bab} @@ -98,25 +98,25 @@ - - - - + + + + - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - - + + + + + + + - + \ No newline at end of file diff --git a/src/modules/previewpane/common/PreviewHandlerCommon.csproj b/src/modules/previewpane/common/PreviewHandlerCommon.csproj index 7ae8a7b400..0c3654e7ca 100644 --- a/src/modules/previewpane/common/PreviewHandlerCommon.csproj +++ b/src/modules/previewpane/common/PreviewHandlerCommon.csproj @@ -1,6 +1,6 @@ - + - + true @@ -8,7 +8,7 @@ PowerToys PreviewHandlerCommon PowerToys PreviewHandlerCommon ..\..\..\..\$(Platform)\$(Configuration)\PreviewHandlerCommonDocumentation.xml - $(RepoRoot)$(Platform)\$(Configuration) + ..\..\..\..\$(Platform)\$(Configuration) false false true