diff --git a/.pipelines/build.cmd b/.pipelines/build.cmd index 4e3a1f15a3..8117b279f1 100644 --- a/.pipelines/build.cmd +++ b/.pipelines/build.cmd @@ -1,6 +1,6 @@ cd /D "%~dp0" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0 -call msbuild ../PowerToys.sln /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1 +call msbuild -m ../PowerToys.sln /p:Configuration=Release /p:Platform=x64 /p:CIBuild=true || exit /b 1 SET PTRoot=.. call "..\installer\PowerToysSetup\publish.cmd" diff --git a/.pipelines/ci/templates/build-powertoys-ci.yml b/.pipelines/ci/templates/build-powertoys-ci.yml index 6461014658..ae35f56afa 100644 --- a/.pipelines/ci/templates/build-powertoys-ci.yml +++ b/.pipelines/ci/templates/build-powertoys-ci.yml @@ -1,7 +1,7 @@ parameters: configuration: 'Release' platform: '' - additionalBuildArguments: '/p:CIBuild=true' + additionalBuildArguments: '-m /p:CIBuild=true' jobs: - job: Build${{ parameters.platform }}${{ parameters.configuration }} diff --git a/src/action_runner/action_runner.vcxproj b/src/action_runner/action_runner.vcxproj index d23e84ebfe..a1e37604d4 100644 --- a/src/action_runner/action_runner.vcxproj +++ b/src/action_runner/action_runner.vcxproj @@ -99,6 +99,7 @@ stdcpplatest true MultiThreaded + true Windows @@ -127,6 +128,7 @@ stdcpplatest true MultiThreadedDebug + true Windows diff --git a/src/bootstrapper/bootstrapper.vcxproj b/src/bootstrapper/bootstrapper.vcxproj index 72ddfe35be..b1b5c5321c 100644 --- a/src/bootstrapper/bootstrapper.vcxproj +++ b/src/bootstrapper/bootstrapper.vcxproj @@ -75,6 +75,7 @@ stdcpplatest true MultiThreaded + true Windows @@ -92,6 +93,7 @@ stdcpplatest true MultiThreadedDebug + true Windows diff --git a/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj b/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj index c6a8bdfab7..138190808a 100644 --- a/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj +++ b/src/common/UnitTests-CommonLib/UnitTests-CommonLib.vcxproj @@ -99,6 +99,8 @@ Use pch.h + true + true diff --git a/src/common/common-md-flag/common-md-flag.vcxproj b/src/common/common-md-flag/common-md-flag.vcxproj index e8e895beff..640951a24c 100644 --- a/src/common/common-md-flag/common-md-flag.vcxproj +++ b/src/common/common-md-flag/common-md-flag.vcxproj @@ -87,6 +87,8 @@ Use pch.h + true + true diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj index 30d2e89f9e..41030b250c 100644 --- a/src/common/common.vcxproj +++ b/src/common/common.vcxproj @@ -89,6 +89,7 @@ Use pch.h + true @@ -103,6 +104,7 @@ MultiThreaded inc;telemetry;..\..\deps\cpprestsdk\include;%(AdditionalIncludeDirectories) /await %(AdditionalOptions) + true Windows @@ -199,4 +201,4 @@ - + \ No newline at end of file diff --git a/src/common/interop/interop.vcxproj b/src/common/interop/interop.vcxproj index cb4ee17d7f..f3bc952a19 100644 --- a/src/common/interop/interop.vcxproj +++ b/src/common/interop/interop.vcxproj @@ -96,6 +96,8 @@ Use pch.h + true + true diff --git a/src/common/notifications/notifications_dll.vcxproj b/src/common/notifications/notifications_dll.vcxproj index fc2ad8a4ec..5c537f4134 100644 --- a/src/common/notifications/notifications_dll.vcxproj +++ b/src/common/notifications/notifications_dll.vcxproj @@ -163,6 +163,8 @@ Use pch.h + true + true diff --git a/src/common/updating/updating.vcxproj b/src/common/updating/updating.vcxproj index 4b3f123424..ca3778eb4e 100644 --- a/src/common/updating/updating.vcxproj +++ b/src/common/updating/updating.vcxproj @@ -108,6 +108,7 @@ MultiThreaded /await %(AdditionalOptions) ../;%(AdditionalIncludeDirectories) + true Windows @@ -143,6 +144,7 @@ MultiThreadedDebug /await %(AdditionalOptions) ../;%(AdditionalIncludeDirectories) + true Windows diff --git a/src/modules/colorPicker/ColorPicker/ColorPicker.vcxproj b/src/modules/colorPicker/ColorPicker/ColorPicker.vcxproj index 601c457bb1..5c2166b329 100644 --- a/src/modules/colorPicker/ColorPicker/ColorPicker.vcxproj +++ b/src/modules/colorPicker/ColorPicker/ColorPicker.vcxproj @@ -95,6 +95,8 @@ Use pch.h + true + true diff --git a/src/modules/fancyzones/dll/FancyZonesModule.vcxproj b/src/modules/fancyzones/dll/FancyZonesModule.vcxproj index 31f5b89a04..0cc5006422 100644 --- a/src/modules/fancyzones/dll/FancyZonesModule.vcxproj +++ b/src/modules/fancyzones/dll/FancyZonesModule.vcxproj @@ -101,6 +101,8 @@ Use pch.h + true + true diff --git a/src/modules/fancyzones/lib/FancyZonesLib.vcxproj b/src/modules/fancyzones/lib/FancyZonesLib.vcxproj index 285ee82420..29aead3edc 100644 --- a/src/modules/fancyzones/lib/FancyZonesLib.vcxproj +++ b/src/modules/fancyzones/lib/FancyZonesLib.vcxproj @@ -95,6 +95,8 @@ Use pch.h + true + true diff --git a/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj b/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj index f38f496692..a58b431533 100644 --- a/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj +++ b/src/modules/fancyzones/tests/UnitTests/UnitTests.vcxproj @@ -81,6 +81,7 @@ Use pch.h + true @@ -95,6 +96,7 @@ true stdcpplatest MultiThreaded + true Windows diff --git a/src/modules/imageresizer/dll/ImageResizerExt.vcxproj b/src/modules/imageresizer/dll/ImageResizerExt.vcxproj index 0a41e4b3fc..dbe43a4f6c 100644 --- a/src/modules/imageresizer/dll/ImageResizerExt.vcxproj +++ b/src/modules/imageresizer/dll/ImageResizerExt.vcxproj @@ -240,6 +240,8 @@ Use pch.h + true + true diff --git a/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj b/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj index 77ba6e9143..d90eab2ee7 100644 --- a/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj +++ b/src/modules/keyboardmanager/common/KeyboardManagerCommon.vcxproj @@ -101,6 +101,8 @@ pch.h /MP %(AdditionalOptions) /MP %(AdditionalOptions) + true + true shlwapi.lib; diff --git a/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj b/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj index c5759e526b..ce4c55a302 100644 --- a/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj +++ b/src/modules/keyboardmanager/dll/KeyboardManager.vcxproj @@ -110,6 +110,8 @@ pch.h /MP %(AdditionalOptions) /MP %(AdditionalOptions) + true + true diff --git a/src/modules/keyboardmanager/test/KeyboardManagerTest.vcxproj b/src/modules/keyboardmanager/test/KeyboardManagerTest.vcxproj index 98a62a0c07..02171a5b6f 100644 --- a/src/modules/keyboardmanager/test/KeyboardManagerTest.vcxproj +++ b/src/modules/keyboardmanager/test/KeyboardManagerTest.vcxproj @@ -101,6 +101,8 @@ pch.h /MP %(AdditionalOptions) /MP %(AdditionalOptions) + true + true diff --git a/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj b/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj index 050e34799c..a388f10518 100644 --- a/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj +++ b/src/modules/keyboardmanager/ui/KeyboardManagerUI.vcxproj @@ -107,6 +107,8 @@ pch.h /MP %(AdditionalOptions) /MP %(AdditionalOptions) + true + true diff --git a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj index d184819b4a..f5176f7089 100644 --- a/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj +++ b/src/modules/launcher/Microsoft.Launcher/Microsoft.Launcher.vcxproj @@ -95,6 +95,8 @@ Use pch.h + true + true diff --git a/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj b/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj index 9d8b3b5e43..afa468ee31 100644 --- a/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj +++ b/src/modules/powerrename/UWPui/PowerRenameUWPUI.vcxproj @@ -102,6 +102,8 @@ Use pch.h + true + true diff --git a/src/modules/powerrename/dll/PowerRenameExt.vcxproj b/src/modules/powerrename/dll/PowerRenameExt.vcxproj index fa14bf8886..3837acb6f5 100644 --- a/src/modules/powerrename/dll/PowerRenameExt.vcxproj +++ b/src/modules/powerrename/dll/PowerRenameExt.vcxproj @@ -168,6 +168,8 @@ Use pch.h + true + true diff --git a/src/modules/powerrename/lib/PowerRenameLib.vcxproj b/src/modules/powerrename/lib/PowerRenameLib.vcxproj index 2bcadc32f5..6b8132d6aa 100644 --- a/src/modules/powerrename/lib/PowerRenameLib.vcxproj +++ b/src/modules/powerrename/lib/PowerRenameLib.vcxproj @@ -154,6 +154,8 @@ Use pch.h + true + true diff --git a/src/modules/powerrename/testapp/PowerRenameTest.vcxproj b/src/modules/powerrename/testapp/PowerRenameTest.vcxproj index e514e10bd4..237a2fb878 100644 --- a/src/modules/powerrename/testapp/PowerRenameTest.vcxproj +++ b/src/modules/powerrename/testapp/PowerRenameTest.vcxproj @@ -170,6 +170,8 @@ Use pch.h + true + true diff --git a/src/modules/powerrename/ui/PowerRenameUI.vcxproj b/src/modules/powerrename/ui/PowerRenameUI.vcxproj index 86ea7ed91f..33829ac608 100644 --- a/src/modules/powerrename/ui/PowerRenameUI.vcxproj +++ b/src/modules/powerrename/ui/PowerRenameUI.vcxproj @@ -155,6 +155,12 @@ ModuleAddRef,ModuleRelease + + true + + + true + diff --git a/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj b/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj index 2fddf55fba..ea0601dddc 100644 --- a/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj +++ b/src/modules/powerrename/unittests/PowerRenameLibUnitTests.vcxproj @@ -177,6 +177,8 @@ Use pch.h + true + true diff --git a/src/modules/previewpane/powerpreview/powerpreview.vcxproj b/src/modules/previewpane/powerpreview/powerpreview.vcxproj index 75df8d3f88..2932cb2036 100644 --- a/src/modules/previewpane/powerpreview/powerpreview.vcxproj +++ b/src/modules/previewpane/powerpreview/powerpreview.vcxproj @@ -99,6 +99,8 @@ Use pch.h + true + true diff --git a/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj b/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj index 67f30c2e05..29004e619c 100644 --- a/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj +++ b/src/modules/previewpane/powerpreviewTest/powerpreviewTest.vcxproj @@ -161,6 +161,8 @@ Use pch.h + true + true diff --git a/src/modules/shortcut_guide/shortcut_guide.vcxproj b/src/modules/shortcut_guide/shortcut_guide.vcxproj index 79be2c5bfd..99dfad8101 100644 --- a/src/modules/shortcut_guide/shortcut_guide.vcxproj +++ b/src/modules/shortcut_guide/shortcut_guide.vcxproj @@ -97,6 +97,8 @@ Use pch.h + true + true diff --git a/src/runner/runner.vcxproj b/src/runner/runner.vcxproj index 5c5047684c..092513eff9 100644 --- a/src/runner/runner.vcxproj +++ b/src/runner/runner.vcxproj @@ -103,6 +103,8 @@ Use pch.h + true + true diff --git a/src/settings/settings.vcxproj b/src/settings/settings.vcxproj index ed3a8d3e95..e17d0b9d6f 100644 --- a/src/settings/settings.vcxproj +++ b/src/settings/settings.vcxproj @@ -69,6 +69,7 @@ MultiThreadedDebug ..;..\common\Telemetry;%(AdditionalIncludeDirectories) /Zm150 %(AdditionalOptions) + true @@ -95,6 +96,7 @@ MultiThreaded ..;..\common\Telemetry;%(AdditionalIncludeDirectories) /Zm150 %(AdditionalOptions) + true true diff --git a/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj b/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj index 45b13684ea..8d881400e3 100644 --- a/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj +++ b/tools/project_template/ModuleTemplate/ModuleTemplateCompileTest.vcxproj @@ -98,6 +98,8 @@ $(SolutionDir)src\;$(SolutionDir)src\modules;$(SolutionDir)src\common\Telemetry;%(AdditionalIncludeDirectories) + true + true