From 667aaad60cfffbe6de0903b00e2a5fe18e4aa51c Mon Sep 17 00:00:00 2001 From: david Date: Wed, 31 Oct 2012 17:01:02 +0000 Subject: [PATCH] Use MSBUILDDISABLENODEREUSE=1 to prevent zombie msbuild.exe processes. Having an msbuild.exe process running would cause builds to fail with a mysterious message about a tmpdir. http://stackoverflow.com/questions/3919892/msbuild-exe-staying-open-locking-files --- mswin32/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mswin32/Makefile b/mswin32/Makefile index b6392ed11..99722cd07 100644 --- a/mswin32/Makefile +++ b/mswin32/Makefile @@ -12,6 +12,9 @@ winbuild: nmap.rc nsis/Nmap.nsi @./license-format/licformat.sh ../COPYING > LICENSE +# MSBUILDDISABLENODEREUSE prevents zombie msbuild.exe processes that +# break subsequent builds. + @export MSBUILDDISABLENODEREUSE=1 "$(VCEXPRESS)" nmap.sln /build release /log $(LOGLOC) "$(VCEXPRESS)" nmap.sln /build release /project nmap-update /log $(LOGLOC) $(MAKENSIS) winpcap/winpcap-nmap.nsi