anchor.diff:  ECHO.
   ECHO Checking out dependencies...
   %tfs% checkout %target1% /recursive /noprompt
  -%tfs% checkout %target2% /recursive /noprompt
   %tfs% checkout "%sourcetools%ConfigCrypter.exe" /noprompt
   %tfs% checkout "%sourcetools%ConfigurationEditor.exe" /noprompt
   %tfs% checkout "%sourcetools%DataMigrationUtility.exe" /noprompt
  
positive.code: 
  ECHO.
  ECHO Updating dependencies...
  XCOPY %source3% %target3% /Y /U
  XCOPY %source2% %target2% /Y /U
  XCOPY %source1% %target1% /Y /U
  XCOPY "%frameworktools%ConfigCrypter\ConfigCrypter.exe" "%sourcetools%ConfigCrypter.exe" /Y
  XCOPY "%frameworktools%ConfigEditor\ConfigEditor.exe" "%sourcetools%ConfigurationEditor.exe" /Y
  XCOPY "%frameworktools%DataMigrationUtility\DataMigrationUtility.exe" "%sourcetools%DataMigrationUtility.exe" /Y
  XCOPY "%historiantools%HistorianPlaybackUtility\HistorianPlaybackUtility.exe" "%sourcetools%HistorianPlaybackUtility.exe" /Y
  XCOPY "%historiantools%HistorianView\HistorianView.exe" "%sourcetools%HistorianView.exe" /Y
  
  :: ECHO.
  :: ECHO Building solution...
  
negative.code: 
  SET vs="%VS100COMNTOOLS%\..\IDE\devenv.com"
  SET tfs="%VS100COMNTOOLS%\..\IDE\tf.exe"
  SET source1="\\GPAWEB\NightlyBuilds\GridSolutionsFramework\Beta\Libraries\*.*"
  SET target1="..\..\Source\Dependencies\GSF"
  SET solution="..\..\Source\Synchrophasor.sln"
  SET sourcetools=..\..\Source\Applications\openPDC\openPDCSetup\
  SET frameworktools=\\GPAWEB\NightlyBuilds\GridSolutionsFramework\Beta\Tools\
  SET /p checkin=Check-in updates (Y or N)? 
  
  ECHO.
  ECHO Getting latest version...
  %tfs% get %target1% /version:T /force /recursive /noprompt
  %tfs% get "%sourcetools%ConfigCrypter.exe" /force /recursive /noprompt
  %tfs% get "%sourcetools%ConfigurationEditor.exe" /force /recursive /noprompt
  %tfs% get "%sourcetools%DataMigrationUtility.exe" /force /recursive /noprompt
  