From c67b1b3a9a931730905ea67ec0465c2e98479c9c Mon Sep 17 00:00:00 2001 From: John Erickson Date: Wed, 18 Oct 2023 08:16:48 -0700 Subject: [PATCH] [Build]Fix local installer build, add Version.vcxproj ref (#29232) * Fix install It looks like adding Version.vcxproj to the solution file magically fixes everything. * cleanup solution --- installer/PowerToysSetup.sln | 10 ++++++++++ .../PowerToysSetupCustomActions.vcxproj | 4 ++-- src/common/version/version.vcxproj | 8 ++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/installer/PowerToysSetup.sln b/installer/PowerToysSetup.sln index 58be67fb18..cdcef54079 100644 --- a/installer/PowerToysSetup.sln +++ b/installer/PowerToysSetup.sln @@ -13,6 +13,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "logger", "..\src\common\log EndProject Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "PowerToysBootstrapper", "PowerToysSetup\PowerToysBootstrapper.wixproj", "{31D72625-43C1-41B1-B784-BCE4A8DC5543}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Version", "..\src\common\version\version.vcxproj", "{CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|ARM64 = Debug|ARM64 @@ -58,6 +60,14 @@ Global {31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|ARM64.Build.0 = Release|ARM64 {31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|x64.ActiveCfg = Release|x64 {31D72625-43C1-41B1-B784-BCE4A8DC5543}.Release|x64.Build.0 = Release|x64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|ARM64.Build.0 = Debug|ARM64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|x64.ActiveCfg = Debug|x64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Debug|x64.Build.0 = Debug|x64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|ARM64.ActiveCfg = Release|ARM64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|ARM64.Build.0 = Release|ARM64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|x64.ActiveCfg = Release|x64 + {CC6E41AC-8174-4E8A-8D22-85DD7F4851DF}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj b/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj index ab789ecf3a..2768846e22 100644 --- a/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj +++ b/installer/PowerToysSetupCustomActions/PowerToysSetupCustomActions.vcxproj @@ -32,8 +32,8 @@ - $(Platform)\$(Configuration)\MachineSetup - $(Platform)\$(Configuration)\UserSetup + $(Platform)\$(Configuration)\MachineSetup\ + $(Platform)\$(Configuration)\UserSetup\ $(SolutionDir)$(ProjectName)\$(Platform)\$(Configuration)\MachineSetup\obj\ $(SolutionDir)$(ProjectName)\$(Platform)\$(Configuration)\UserSetup\obj\ diff --git a/src/common/version/version.vcxproj b/src/common/version/version.vcxproj index 7aaa57c5bf..ea344607cb 100644 --- a/src/common/version/version.vcxproj +++ b/src/common/version/version.vcxproj @@ -20,6 +20,10 @@ Debug x64 + + Debug + ARM64 + Release Win32 @@ -28,6 +32,10 @@ Release x64 + + Release + ARM64 + 16.0