Team foundation connection issues.
Questions:
Answer:
save the script as a .bat file.
@echo off
REM **********************************************************
REM Script for clearing Team Explorer Cache in VS/TFS 2010/2012
REM **********************************************************
REM **********************************************************
REM Change directory to the Tfs2010 client cache
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\3.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a
REM **********************************************************
REM Change directory to the Tfs2012 client cache (ignore if it does not exist)
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\4.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a
REM **********************************************************
REM Change directory to the Tfs2013 client cache (ignore if it does not exist) . This wasnt Tfs2013 on my machine
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\5.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a
REM **********************************************************
REM Change directory to the Tfs2013 client cache (ignore if it does not exist)
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\6.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a
ECHO “All Done!”
The above script is not working for me.
Just run this
Run from Window Run
%localappdata% and then delete the files from the above folder directories.
Resources: https://blogs.msdn.microsoft.com/vsalm/2013/12/17/how-to-clear-the-tfs-cache-on-client-machines/
http://mohamedradwan.com/2010/05/15/why-and-how-to-clear-tfs-client-cache/