anchor.diff:  set _idMaster=Master
   set _wcfTestDir=c:\WCFTest
   set _repoHome=c:\git
  +set _pathIISHostedWcfService=src\System.Private.ServiceModel\tools\IISHostedWcfService
   set _currentRepo=%_repoHome%\wcf%_id%
   set _masterRepo=%_repoHome%\wcf%_idMaster%
   set _prServiceName=PRService%_id%
  
positive.code: %_appcmd% delete app "Default Web Site/%_wcfServiceName%" >nul
  %_appcmd% delete apppool %_wcfServiceName% >nul
  if EXIST %_currentRepo% if DEFINED _useExistingRepo (echo User provided repo is not deleted: %_currentRepo%) else (rmdir /s /q %_currentRepo%)
  if EXIST %_wcfTestDir% if /I '%_masterRepo%'=='%_currentRepo%' rmdir /s /q %_wcfTestDir%
  echo Clean up done.
  if DEFINED _cleanup goto :Done
  
  
negative.code:     echo Add an HTTPS binding to "Default Web Site"
      call :Run %_appcmd% set site "Default Web Site" /+bindings.[protocol='https',bindingInformation='*:443:']
      if ERRORLEVEL 1 goto :Failure
      :: Delete %_wcfTestDir% to force certificate regeneration later, which will fill in correct cert for https binding
      if EXIST %_wcfTestDir% rmdir /s /q %_wcfTestDir%
  ) else (
      echo Found and will use existing HTTPS binding in "Default Web Site"
  )
  
  :: Install certificates if %_wcfTestDir% does not exist; otherwise, assume certs are installed already
  if EXIST %_wcfTestDir% (
      echo SKIP certificate generation. To force certificate generation, delete %_wcfTestDir% before running this script.
      goto :SkipCertInstall
  )
  
  :: Use master repo for cert generation if master repo exists; otherwise use current repo
  