anchor.diff:  PUSHD %~dp0
   
   SETLOCAL
  +SETLOCAL ENABLEDELAYEDEXPANSION
   
   IF NOT DEFINED VisualStudioVersion (
       IF DEFINED VS140COMNTOOLS (
  
positive.code: POPD
  )
  
  SET CachedNuget=%LocalAppData%\NuGet\NuGet.exe
  
  :RestoreNormalPackage
  IF EXIST "%CachedNuget%" GOTO :Restore
  ECHO Downloading latest version of NuGet.exe...
  IF NOT EXIST "%LocalAppData%\NuGet" MD "%LocalAppData%\NuGet"
  
negative.code: 
  :: Check if DNU exists globally
  :: DNU is OPTIONAL
  SET BuildDnxProjects=1
  WHERE dnu
  
  IF NOT '%ERRORLEVEL%'=='0' (
      ECHO WARNING: DNU is not installed globally, DNX related projects will not be built!
      SET BuildDnxProjects=0
  