visual-studiovisual-studio-2015codelens

Why does CodeLens always show "0 authors, 0 changes"?


I have a Visual Studio project/solution in a Git repo. Visual Studio's source control feature works a treat (second screenshot). Thanks "Microsoft Git Provider"

HOWEVER CodeLens shows "0 authors, 0 changes" for every class and method (first screenshot) with tooltip explanations:

no data available for this type
no data available for this method

Any ideas why it could be broken?

More detail: the git repo doesn't have remotes. Visual Studio isn't connected to any Team Foundation server. I'm using the exact version of Git that shipped with Visual Studio 2015 update 1.

>git --version
git version 2.6.2.windows.1

enter image description here enter image description here


Solution

  • Visual Studio 2015 Update 2 fixed my problem.

    https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx