Missing CodeLens references count in Visual Studio Community edition 2015 and 2017 - visual-studio

Is there a reason why the references count (code lens) is missing in Visual Studio Community edition?
Is is possible to enable it in the options?
Here is a screenshot of Visual Studio 2015 and 2017 Community edition:
Here is a screenshot of Visual Studio 2013:
source: dailydotnettips.com

I installed the latest SSDT preview for Visual Studio 2015 from the link below on 2 machines I have with VS 2015 Community edition (Update 1), and CodeLens started working for all my projects.
https://msdn.microsoft.com/en-us/library/mt204009.aspx

This isn't a generic reference counting feature, it's just one of the features of CodeLens. CodeLens is only available in Visual Studio 2015 Pro and above. In Visual Studio 2013 it was a Ultimate-only feature.
UPDATE
As others have noted, installing SSDT or SSMS 2016 may enable CodeLens as well. That's because VS 2015 Community is Pro, with a different license and some missing extensions like CodeLens. As long as an extension's binaries and settings are installed, Community will activate the extension.
UPDATE 2019
"CodeLens has been a feature found only in Visual Studio Enterprise, but that will change in an upcoming preview of Visual Studio 2019, when it will also be available for the Community edition, likely in 2019"
What's New in Visual Studio 2019

I have Visual Studio 2015 Community edition and it originally did NOT have CodeLens.
However, after going to Tools -> Extensions and Updates -> Product Updates and then downloading SSDT and installing all options within the SSDT package, my VS 2015 Community Edition now miraculously has access to CodeLens.

On the Tools tab choose Options.
In the open window choose like bellow, and then press ok.
Good Luck!!!

This feature has been disabled in Visual Studio Community 2017, although it sounds like it was temporarily available in pre-release versions.
The Visual Studio Team issued this statement on the 14th of March 2017:
An authoring error in the SQL Server Data Tools resulted in the
capability temporarily showing up incorrectly in Visual Studio
Community when installed; the change you see is a result of correcting
that mistake.
Also, on the Compare Visual Studio 2017 Offerings page CodeLens appears to not be available in the Community edition.

I'm not allowed to Comment on R. Richards answer above, so posting this as a separate answer: CodeLens references disappeared for me too when I upgraded my VS Pro to 2017. But only on my Desktop ("same" upgrade behaved differently on my laptop, where CodeLens settings apparently unaffected). Anyway, very easy to resolve just Enable CodeLens under Text Editor : All Languages

An alternative is to just right-click the member and select 'Find All References' or the hot key shift + F12*. Not only you will find the count of references grouped by project, but also the underlying code lines and their classes.
* As per Visual Studio 2017 Community.

Related

How to have separate recent projects and solutions list for Visual Studio 2017 and 2019?

My laptop has Windows 7 64-bit operating system. I have both Visual Studio Community 2017 and Visual Studio Community 2019 installed.
I am seeing that the recent projects and solutions list is shared between Visual Studio Community 2017 and Visual Studio Community 2019.
For example:
I open Visual Studio Community 2017, open a solution named
A_2017, work on it, close it and finally close Visual Studio Community 2017.
Then I open Visual Studio Community 2019, open a solution named
B_2019, work on it, close it and finally close Visual Studio Community 2019.
Now I open Visual Studio Community 2017 again and check the Recent
Projects and Solutions list and I see B_2019 as the first entry
in there although I never opened that solution with Visual Studio Community 2017.
Is it possible that recent projects and solutions list is not shared among different versions of Visual Studio? If yes please show how.
Thanks
Finally I settled with a work around. For Visual Studio 2019, I installed this extension from the marketplace https://marketplace.visualstudio.com/items?itemName=Danielku15.BetterStartPage2019
And created a group for VS 2019 projects and then added 2019 projects to that group.
This extension also has a version for Visual Studio 2017 as well.

Can't install the extension on Visual Studio 2017 after installing Visual Studio 2019

Only Visual Studio 2019 is present in VSIXInstaller, Visual Studio 2017 is missing and when I want to install the extension specifically for Visual Studio 2017 I can't do that
I believe this issue crops up due to the 'Visual Studio Extension File' not having the appropriate supported VS Version Numbers specified in the '.vsixmanifest'.
(Changing the supported Version Number range will allow support for previous or future versions of Visual Studio.)
Here is a Link to an answer of mine which covers the issue and resolution. (Which has a worked example of allowing VS 2015 where only VS 2012 was supported)

How to switch on CodeLens in Visual Studio 2017?

I have installed Microsoft Visual Studio Community 2017.
I cannot find any option to switch on CodeLens. Is this feature removed from this version?
CodeLens is not available in the Community editions. You need Professional or higher to switch it on.
In VS2015, one way to "get" CodeLens was to install the SQL Server Developer Tools (SSDT) but I believe this has been rectified in VS2017.
Visual Studio Community dose not support CodeLens , only Visual Studio
Professional and Visual Studio
Enterprise give this Integrated Development Environment Facility.
For more information go to this link enter link description here
For Visual information Please See this Image: Visual Studio
Community supported Features
If you like CodeLens you can install Visual Studio 2019 Community
Microsoft has enabled it even for the Community edition. See Integrated Development Environment on Visual Studio Comparison. Most features are enabled.
See CodeLens for Everyone What's New in Visual Studio 2019 for more info.
CodeLens is now available since VS 2017 Community Update 8, but it only contains Requests and Exceptions of Application Insights, no References:
From Dante Gagne [MSFT] on Oct 31, 2018 at 05:38 PM:
The infrastructure for CodeLens has been released in the Visual Studio 2017 Update 8. Please install and let us know your feedback. Please continue to provide feedback and help us make Visual Studio even better.
Source
It can be enabled in the Text Editor Options under All Languages --> CodeLens --> Enable CodeLens
Resharper has "Find Usages" and "Find Usages Advanced". The default keyboard shortcut for "Find Usages" is Shift+F12. If you can live with using that shortcut instead of clicking on the reference link above a type then you're good to go. I've moved the results window from the bottom to the left and enabled auto-hide.
Good enough for me.
For Visual Studio Community 2019 a lesser CodeLens version is available:
https://visualstudio.microsoft.com/vs/compare/
Visual Studio Community 2019:
Visual Studio Professional 2019:

Visual Studio not installed error

I know this is not exactly a programming question but I don't even know how to google it so here I am.
I currently have Visual Studio 2013 Express and I get the error above when am trying to install Microsoft Visual Studio 2013 Installer Projects extension, what is missing? Any help will be highly appreciated.
[
As mentioned on the extension page, this requires Visual Studio 2013.
Visual Studio 2013 Express is not Visual Studio 2013 (meaning paid version). Or at least, only a subset, with a different product ID.
You'll have to use the paid version of VS or choose another setup method.

Visual Studio 2013 RC Professional CodeLens not showing up

I have installed Visual Studio 2013 RC Professional but i am not seeing codelens feature working. Even tried looking for Tools -> Options -> Text Editor -> All Languages -> Code Information Indicators but "Code Information Indicators" option is totally missing.
Any help how can i see codelens in VS2013 RC Prof?
You need Visual Studio 2013 Ultimate with Team Foundation Server 2013.
To use this feature you will need Visual Studio 2013 Preview and Team
Foundation Server 2013 Preview as some information comes from TFS.
and:
Here's what you’ll need:
Visual Studio Ultimate 2013 to find references
Team Foundation Server 2013 to find changesets, code review requests,
and different kinds of work items
Source
This article will tell you the same.
You can download Team Foundation Server here.

Resources