When I open a project from the Visual Studio Team Services (scrum 3 template) I only get the CodeLens reference count. Is this a bug in VS? Why do I not have CodeLens with full TFS versioning Comments, Edited By, etc.?
FYI: I have enabled all options in Visual Studio Tools > Options > CodeLens.
I also tried the following with no success:
Create a new project in Visual Studio Team Services.
Disable and re-enable CodeLens.
There is an update!
Currently CodeLens is being developed for Visual Studio Team Services, 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 Team Services.
Just updated to VS Ultimate Update 4, already had a solution setup on Visual Studio Team Services, 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 Team Services.
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 Visual Studio Team Services is now in public preview
For Visual Studio 2015: Should be available by default. Source. I'm using Visual Studio 2015 Enterprise and it works good, even more then in visual studio 2013.
As DaveShaw answered, TFS 2013 is required, but I still had problems after installing TFS 2013. Turns out you need to have CodeIndexing enabled on the TFS Server. My codeindexing was on, but I think the index was corrupted somehow and I had to reindex it.
This is a good link (go to the Q&A section at the bottom):
http://msdn.microsoft.com/en-us/library/vstudio/dn269218%28v=vs.120%29.aspx
Here is the TFSConfig CodeIndex syntax:
http://msdn.microsoft.com/en-us/library/vstudio/dn280925(v=vs.120).aspx
Once you get your codeindex running, you have to do a get latest from Visual Studio and then your codelens should work.
Server-side CodeLens indexing is not currently supported by the Visual Studio Team Services, only on-premises TFS. This is partly because of the potentially unbounded number of tenant accounts in the online service, each with its own background job to do the indexing of changesets. However this could change in the future.
Source: I worked on CodeLens.
Related
I have just started exploring Visual Studio code. I have installed VS 2017 , and i want to create a Share point project. But I cannot see Share point Add-In in installed or Online section.
Can any one please help
According to this article, this could be your problem:
This issue occurs because of the Office Developer Tools for Visual Studio 2017 is not installed.
You would have to add the extension using the Visual Studio installer.
This question already has an answer here:
Can Visual Studio Code and VS 2012 be installed on same computer?
(1 answer)
Closed 1 year ago.
Is it safe to install Visual Studio Code on a machine that has an installation of Visual Studio 2019 Enterprise?
Are there any known issues?
Of course they can. I have both installed.
To understand the differences better, refer to this answer What are the differences between Visual Studio Code and Visual Studio?
Also, Visual Studio currently (April 2021) works only on Windows and Mac ( separate Visual Studio for MAC), while Visual Studio Code works on Windows, Linux and Mac OS.
Yes, you can install and use both simultaneously and safely.
Visual Studio Code is a lightweight but powerful source code editor. It has IntelliSense code completion for variables, methods, and imported modules, graphical debugging, linting, multi-cursor editing, parameter hints, and other powerful editing features, and built-in source code control including Git support.
Visual Studio (current version Visual Studio 2019) is Microsoft’s premier IDE. With it, you can develop, debug, analyze, test, collaborate and deploy your software.
Visual Studio doesn’t run on Linux but VS Code does.
Yes, it is.
Visual Studio and Visual Studio Code are two different programs and apart from the name, they haven't too many common points.
I have several projects on GitHub and on Visual Studio Team Services. In VS 2015 I simply connected to a server, selected and connected to a project. In Team Explorer I saw all solutions in Solution part. In Visual Studio 2017 I don't see any solution. If I check it again in VS 2015 (on the same computer), it works fine. Is there something more to do in VS 2017 to see the solutions in Solutions part?
You appear to be using TFVC for this example.
Have you defined a workspace – or at least looked at the workspace in Source Code Explorer – so VS2017 knows you have the local files?
(AIUI the solutions list is based on a search of the local workspace.)
Tried to find where I read this yesterday but I can't remember, but according to Microsoft on the developer forums, this is as intended. You need to click "show folder view" to see your solution.
I want to install Visual Studio Community edition and I need to use Visual Studio Team Services (was Visual Studio Online) free account as source control.
The information on the visual studio site seems to indicate no functionality available under the Team Foundation section. But from a lot of searching online I have found conflicting advice and people say that they have been able to use it with an in-house TFS etc.
Can I use the Visual Studio 2015 Community Edition with the Visual studio Team Services free services like source control, work item tracing, branching/merging code etc?
The answer is YES. You can use any VS edition to connect to Visual Studio Team Service.
This might sound like a silly question but is there a manual or a guide on how to set up Team Foundation Server 2010 in Visual Studio 2010 Premium or Ultimate? It comes built-in right?
I've only got up to the Server list part. It's asking me to select a TFS server and port, but I don't think I have one. All I have installed is Visual Studio 2010. According to this product comparison page, TFS 2010 should come pre-installed with Visual Studio 2010.
Team Foundation Server is the source control server application. It is not the same as Visual Studio 2010 Premium/Ultimate.
In order to use TFS, you must install it on a machine on your network, then connect to it using the client, which is what comes preinstalled with Visual Studio.
Back in 2008, you'd have to download the TFS Client separately and install that in order to connect Visual Studio to a TFS instance. This might be what's leading to your confusion.
No, it doesn't come built in. Team Foundation Server is a separate product from Visual Studio; the (slightly misleading) table on the page you linked does indicate that TFS "can be purchased separately."