3

我在 visualstudio.com 上托管了我的 TFS,但我似乎无法在本地计算机上找到 tfsconfig,并且无法从 Web 界面启用 codeindex。有人有类似的问题吗?

4

3 回答 3

2

更新

今年 4 月 17 日,Codelens 现已在 Visual Studio Online 上为所有帐户启用。

要求:

  • 适用于 TFVC 的Visual Studio 2013 Ultimate 和更新 4或更高版本
  • 适用于 Git 的Visual Studio 2013 Ultimate 和更新 3或更高版本
  • 适用于 TFVC 和 Git 的Visual Studio 2015 Professional或更高版本

如果这不起作用:

  1. 关闭 Visual Studio 的所有实例。

  2. 删除文件夹中的所有缓存数据%localappdata%\Microsoft\VisualStudio Services\5.0\

  3. 重新启动 Visual Studio 并从 Visual Studio Online 重新打开解决方案。

于 2015-07-29T19:10:40.547 回答
1

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:

  1. Be using Visual Studio Ultimate 2013 Update 4, or Visual Studio 2015 (Preview or later version).
  2. 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?

  1. Close all Visual Studio Instances.
  2. Remove the cache from %localappdata%\Microsoft\VisualStudio Services\5.0\
  3. 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.

Source: CodeLens in VSO is now in public preview

于 2015-03-27T22:37:24.447 回答
0

我不相信 CodeLens 对 VSO 有效。

于 2014-02-05T03:49:46.223 回答