anchor.diff:  SET /p VERSION=<VERSION
   
   IF "%1" == "signed" (
  +    SHIFT
  +    SET NODEBUG=true
       SET BIN=bin\signed
       SET OUTDIR=..\..\bin\signed
       SET LICENSE_URL=http://www.microsoft.com/web/webpi/eula/eula_win2d_10012014.htm
       SET REQUIRE_LICENSE_ACCEPTANCE=true
   ) else (
  -    IF NOT "%1" == "" (
  -        SET VERSION=%VERSION%-%1
  -    )
       SET BIN=bin
       SET OUTDIR=..\..\bin
       SET LICENSE_URL=http://github.com/Microsoft/Win2D/blob/master/LICENSE.txt
       SET REQUIRE_LICENSE_ACCEPTANCE=false
   )
   
  -if "%OVERRIDE_NUGET_PACKAGE%"  == "" (
  +IF "%1" == "nodebug" (
  +    SHIFT
  +    SET NODEBUG=true
  +)
  +
  +IF NOT "%1" == "" (
  +    SET VERSION=%VERSION%-%1
  +)
  +
  +if "%OVERRIDE_NUGET_PACKAGE%" == "" (
       SET NUGET_PACKAGE=Win2D
   ) else (
       ECHO Using OVERRIDE_NUGET_PACKAGE: %OVERRIDE_NUGET_PACKAGE%
  
positive.code: nuget pack %NUGET_PACKAGE%.nuspec %NUGET_ARGS%
  IF %ERRORLEVEL% NEQ 0 GOTO END
  
  IF NOT "%1" == "signed" (
      nuget pack %NUGET_PACKAGE%-debug.nuspec %NUGET_ARGS%
      IF %ERRORLEVEL% NEQ 0 GOTO END
  )
  
negative.code: REM
  REM Version is read from the VERSION file.
  REM
  REM Command-line parameter specifies optionally "signed" or "nodebug",
  REM followed by an optional prerelease string to append to the version.
  REM
  REM Say VERSION contains "0.0.3" then:
  REM
  REM build-nupkg                     <-- generates package with version 0.0.3
  REM build-nupkg build-140912-1100   <-- generates package with version 0.0.3-build-140912-1100
  REM
  REM The "nodebug" flag builds only release flavor package, skipping the debug variant.
  REM
  REM The "signed" flag is intended for internal Microsoft use. This generates a
  REM package without a prerelease version number, using a license agreement
  