2

I'm using Visual Studio 2017 and I've downloaded some code from TFS. The issue is that all the code has "0 authors, 0 changes" (please see the screeshot below).
How is this possible? It shouldn't happen beacause everyone in the office is logged with his own account.

enter image description here

Edit:
Important infos:

  • the solution has been created about one month ago by another user.
  • CodeLens states "No changes in the last 12 months for this method"
Flash
  • 142
  • 2
  • 12
  • Which specific version of VS 2017 do you use? What about other clients? Just try upgrading to the latest version, then try it again. Reference https://stackoverflow.com/questions/34814365/why-does-codelens-always-show-0-authors-0-changes – Andy Li-MSFT Dec 26 '17 at 08:42
  • Is already up to date: Visual Studio Professional 2017 - Version 15.5.2. From another machine, identical client, identical result: 0 authors, 0 changes. – Flash Dec 27 '17 at 11:43
  • What's your TFS version? Can you see the information in TFS Web Portal/Code/File/Blame? – Eddie Chen - MSFT Jan 02 '18 at 01:43

1 Answers1

0

Code Lens only looks at a certain amount of history (24 months).

If the last change is older than this then you'll see no changes.

Richard
  • 106,783
  • 21
  • 203
  • 265
  • I'm sorry, but it can't be the answer. The solution has been created one month ago. – Flash Dec 21 '17 at 15:37
  • @Flash that's significant information: please update the question (and also what does the message say when you hover over code lens?) – Richard Dec 21 '17 at 15:40