anchor.diff:    GOTO :exit
   )
   
  -rem Build NuGet package
  -ECHO.
  -IF "%NuGetPath%" == "" (
  -  ECHO NuGet.exe does not exist or is not under PATH.
  -  ECHO If you want to build NuGet package, install NuGet.CommandLine
  -  ECHO package, or download NuGet.exe and place it under .\Build\tools
  -  ECHO directory.
  -  SET return-code=1
  -  GOTO :exit
  -)
   IF NOT EXIST ".\Build\Packages" MKDIR ".\Build\Packages"
   ECHO Building NuGet package with version %build-version%
  -IF /I "%build-sln%" NEQ "amqp-nanoFramework.sln" (
  -  FOR %%G IN (AMQPNetLite AMQPNetLite.NetMF AMQPNetMicro) DO (
  +IF NOT "%build-sln:amqp.sln=%" == "%build-sln%" (
  +  "%NuGetPath%" pack .\nuspec\AMQPNetLite.nuspec -Version %build-version% -BasePath .\ -OutputDirectory ".\Build\Packages"
  +  IF ERRORLEVEL 1 (
  +    SET return-code=1
  +    GOTO :exit
  +  )
  +)
  +IF NOT "%build-sln:amqp-netmf.sln=%" == "%build-sln%" (
  +  FOR %%G IN (AMQPNetLite.NetMF AMQPNetMicro) DO (
       "%NuGetPath%" pack .\nuspec\%%G.nuspec -Version %build-version% -BasePath .\ -OutputDirectory ".\Build\Packages"
       IF ERRORLEVEL 1 (
         SET return-code=1
         GOTO :exit
       )
     )
  +)
  +IF NOT "%build-sln:amqp-dotnet.sln=%" == "%build-sln%" (
     FOR %%G IN (AMQPNetLite.Core AMQPNetLite.Serialization AMQPNetLite.WebSockets) DO (
       "%NuGetPath%" pack .\nuspec\%%G.nuspec -Version %build-version% -BasePath .\ -OutputDirectory ".\Build\Packages" -Symbols -SymbolPackageFormat snupkg
       IF ERRORLEVEL 1 (
  
positive.code: ECHO Build version: %build-version%
  ECHO Build configuration: %build-config%
  ECHO Build platform: %build-platform%
  ECHO Build dotnet2: %build-dotnet2%
  ECHO Build run tests: %build-test%
  ECHO Build NuGet package: %build-nuget%
  ECHO.
  
negative.code:   GOTO :eof
  
  :run-build
    ECHO Build solution %2
    IF /I "%2" EQU "amqp-dotnet.sln" (
      "%dotnetPath%" %1 -c %build-config% -v %build-verbosity% %2
      IF ERRORLEVEL 1 EXIT /b 1
    ) ELSE (
      "%NuGetPath%" restore %2
      IF ERRORLEVEL 1 EXIT /b 1
      "%MSBuildPath%" %2 /t:%1 /nologo /p:Configuration=%build-config%;Platform="%build-platform%" /verbosity:%build-verbosity%
      IF ERRORLEVEL 1 EXIT /b 1
  	IF /I "%build-micro%" EQU "true" (
        ECHO Build other versions of the micro NETMF projects
  