anchor.diff:      --test-adapter-path:. ^
       --logger:\"nunit;LogFilePath=../.TestResults\TestResults.xml\"
       
  +REM ---
  +REM 'Capture' the exit code from dotnet test for later use
  +REM ---
  +set generalexitcode=%errorlevel%
  +    
   move .TestResults\TestResults.xml .TestResults\TestResults.ZptSharp.Tests.xml
   move .TestResults\coverage.opencover.xml .TestResults\coverage.opencover.ZptSharp.Tests.xml
       
  
positive.code: REM ---
  REM 'Capture' the exit code from dotnet test for later use
  REM ---
  set exitcode=%errorlevel%
  
  dotnet-sonarscanner end ^
      /d:"sonar.login=%SONARCLOUD_SECRET_KEY%"
  
negative.code: REM ---
  FOR %%F IN (.TestResults\*.*) DO appveyor PushArtifact %%F
  
  REM If both exit codes are zero then this is exit 0, otherwise it will raise an error.
  set /A "exitcode=generalexitcode+mvcexitcode"
  exit /B %exitcode%