CodeLens only showing references?

2020-04-07 04:41发布

I installed Visual Studio 2015 Enterprise RTM and only seeing "references" from Code Lens. We are using TFS for source control. I expect to see related commits from TFS. Based on this article, I have everything enabled in options:

enter image description here

Here is what I see in VS:

enter image description here

Is there anything wrong with my VS setup?

1条回答
不美不萌又怎样
2楼-- · 2020-04-07 05:13

The TFVC lenses that are part of CodeLens only work when connected to a version of Team Foundation Server that is running the background job that generates the historical data. This means that you need to be running at least TFS 2013 or 2015 in order for this feature to work. Some features require a specific version of Visual Studio.

It is also possible that your server admin has disabled indexing on the server, one can do that using the tfsconfig codeindex command on the application tier.

查看更多
登录 后发表回答