anchor.diff:  SET PATH=%PATH%;%WINDIR%\Microsoft.NET\Framework64\v4.0.30319;%WINDIR%\SysNative
   where msbuild
   if errorLevel 1 ( echo "msbuild was not found on PATH" && exit /b 1 )
  -
   
   :: enable some features
   dism /online /Enable-Feature /FeatureName:IIS-WebServer /All /NoRestart
  
positive.code: rmdir /S /Q packages
  bin\nuget restore || exit /b 1
  
  SET GOPATH=%CD%\diego-release
  SET PATH=%GOPATH%\bin;%PATH%
  
  MSBuild WindowsAppLifecycle.sln /t:Rebuild /p:Configuration=Release || exit /b 1
  packages\nspec.0.9.68\tools\NSpecRunner.exe Builder.Tests\bin\Release\BuilderTests.dll || exit /b 1
  packages\nspec.0.9.68\tools\NSpecRunner.exe Launcher.Tests\bin\Release\LauncherTests.dll || exit /b 1
  
negative.code: bin\bsdtar -czvf windows_app_lifecycle.tgz --exclude log -C Builder\bin . -C ..\..\Launcher\bin . -C ..\..\WebAppServer\bin . || exit /b 1
  for /f "tokens=*" %%a in ('git rev-parse --short HEAD') do (
      set VAR=%%a
  )
  
  mkdir output
  move /Y windows_app_lifecycle.tgz output\windows_app_lifecycle-%VAR%.tgz || exit /b 1
  