I hosted my TFS on visualstudio.com but I can't seems to find the tfsconfig on my local machine and unable to enable codeindex from the web interface. Anyone has similar issue?
-
Ehm... what is the downvote for? – drhanlau Feb 05 '14 at 03:42
-
Any word on this? Using VS2013 Ultimate Update 3 with VSO (TFS) and not getting Code Lens. Shouldn't this work, especially if it works OK with VSO (Git)? – Adam Plocher Aug 12 '14 at 05:27
3 Answers
Update
April 17th this year Codelens is now live for all accounts on Visual Studio Online.
Requires:
- Visual Studio 2013 Ultimate with update 4 or higher for TFVC
- Visual Studio 2013 Ultimate with update 3 or higher for Git
- Visual Studio 2015 Professional or higher for TFVC and Git
In case this doesn't work:
Close all instances of Visual Studio.
Delete all the cached data in the folder
%localappdata%\Microsoft\VisualStudio Services\5.0\
Restart Visual Studio and re-open the solution from Visual Studio Online.

- 106,458
- 22
- 256
- 341
There is an update!
Currently CodeLens is being developed for VSO, currently in Public Preview for what I have read so far, in US and West-Europe.
Requirements:
- Be using Visual Studio Ultimate 2013 Update 4, or Visual Studio 2015 (Preview or later version).
- Check your code into Team Foundation Version Control in Visual Studio Online.
Just updated to VS Ultimate Update 4, already had a solution setup on VSO, works great as expected.
troubleshoot, CodeLens not appearing?
- Close all Visual Studio Instances.
- Remove the cache from %localappdata%\Microsoft\VisualStudio Services\5.0\
- Reopen Visual Studio, open the solution from Visual Studio Online.
I'm not sure if it was necessary to do this for me, I did it, looked like it had no effect and the codeLens still didn't appear. While I was typing out a new question they suddenly appeared. So it could take a few minutes.

- 9,924
- 8
- 76
- 101
I don't believe CodeLens works against VSO yet.

- 22,069
- 2
- 47
- 62
-
1It also doesn't work against TFS-Git repositories. But I expect MS is working on supporting both these scenarios. – Dylan Smith Feb 05 '14 at 03:56
-
Codelens for Git is coming with Visual Studio 2013 Update 3: http://blogs.msdn.com/b/visualstudioalm/archive/2014/05/23/code-lens-for-git-in-visual-studio-2013-ultimate-update-3.aspx – jessehouwing Jun 23 '14 at 13:57