我在 visualstudio.com 上托管了我的 TFS,但我似乎无法在本地计算机上找到 tfsconfig,并且无法从 Web 界面启用 codeindex。有人有类似的问题吗?
3 回答
更新
今年 4 月 17 日,Codelens 现已在 Visual Studio Online 上为所有帐户启用。
要求:
- 适用于 TFVC 的Visual Studio 2013 Ultimate 和更新 4或更高版本
- 适用于 Git 的Visual Studio 2013 Ultimate 和更新 3或更高版本
- 适用于 TFVC 和 Git 的Visual Studio 2015 Professional或更高版本
如果这不起作用:
关闭 Visual Studio 的所有实例。
删除文件夹中的所有缓存数据
%localappdata%\Microsoft\VisualStudio Services\5.0\
重新启动 Visual Studio 并从 Visual Studio Online 重新打开解决方案。
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.
我不相信 CodeLens 对 VSO 有效。