From 2c916aa11777e175062bd1a0a472afabebaa25b4 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Wed, 28 Oct 2020 15:44:54 -0700 Subject: [PATCH] making dev env call vs hardcoded path --- installer/PowerToysSetup/PowerToysSetup.wixproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/PowerToysSetup/PowerToysSetup.wixproj b/installer/PowerToysSetup/PowerToysSetup.wixproj index 8c5ad9d3d6..1587e9f1f7 100644 --- a/installer/PowerToysSetup/PowerToysSetup.wixproj +++ b/installer/PowerToysSetup/PowerToysSetup.wixproj @@ -74,7 +74,8 @@ IF NOT DEFINED IsPipeline ( -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 "$(DevEnvDir)\..\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -winsdk=10.0.18362.0 SET PTRoot=..\..\..\.. call "..\..\publish.cmd" )