From 5ee9af795fd58ce87557359aeabfff4ddfbacdfe Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Wed, 28 Oct 2020 17:22:42 -0700 Subject: [PATCH] Shifting to MSBuild constant. https://github.com/dotnet/roslyn/pull/23977 --- installer/PowerToysSetup/PowerToysSetup.wixproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/PowerToysSetup/PowerToysSetup.wixproj b/installer/PowerToysSetup/PowerToysSetup.wixproj index 1587e9f1f7..f7816d7a41 100644 --- a/installer/PowerToysSetup/PowerToysSetup.wixproj +++ b/installer/PowerToysSetup/PowerToysSetup.wixproj @@ -75,7 +75,7 @@ IF NOT DEFINED IsPipeline ( -call "$(DevEnvDir)\..\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0 +call "$([MSBuild]::GetVsInstallRoot())\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0 SET PTRoot=..\..\..\.. call "..\..\publish.cmd" )