From 41238c5bbe79697ad078161543b5b8f9d8435424 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 28 Oct 2014 21:01:10 -0700 Subject: [PATCH] VisualStudioProjects: Fixed prebuild event logic to properly detect and handle windows-build version replacement/upgrade --- Visual Studio Projects/Pre-Build-Event.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Visual Studio Projects/Pre-Build-Event.cmd b/Visual Studio Projects/Pre-Build-Event.cmd index 777926d9..f5dac22d 100644 --- a/Visual Studio Projects/Pre-Build-Event.cmd +++ b/Visual Studio Projects/Pre-Build-Event.cmd @@ -75,8 +75,8 @@ rem top level directory named as it existed in the zip file. rem We rename that top level directory. If a previous one already rem exists, that will be an older version, so we try to remove rem that one first. -if exist ../../windows-build rmdir /s /q ../../windows-build -ren /Y ../../windows-build-windows-build windows-build +if exist ..\..\windows-build rmdir /s /q ..\..\windows-build +ren ..\..\windows-build-windows-build windows-build if errorlevel 1 goto _notice3 if exist ../../windows-build-windows-build goto _notice3 :_check_files