You could try to clear visual studio cache and TFS cache .
1.Close all instances of Visual Studio
2. Press Windows + R and input the path
%LocalAppData%\Microsoft\Team Foundation\
Then choose the version of TFS, then go to the Cache folder
%LocalAppData%\Microsoft\Team Foundation\{TFS version}\Cache I removed this folder and it was sufficient.
Here’s the visual studio cache by the way.
%APPDATA%\Microsoft\VisualStudio
remove the component model cache
%LocalAppData%\Microsoft\VisualStudio\16.xxx\ComponentModelCache
for whatever version
3. Remove the Cache folder
4. Restart the Visual Studio.