Code lens is enabled but referenced are in blank visual studio 2013

294 views Asked by At

Hello there I have enabled CodeLens in visual studio 2013, but referenced are not shown on the methods. they are just showing '-References'

3

There are 3 answers

0
hdkhardik On BEST ANSWER

After researching since past 1 and half week I found that , there was another source control installed and selected, I have installed VisualSVN and itwas selected as a source control in Visual Studio IDE. I could resolve this issue by following the given steps.

Goto Tools-> Options -> Source Control -> Plug-in Selection and selected None in Current source code Plug-in Thank you all !!

0
Keshava S M On

Enabled the CodeLens in below mentioned steps.

Goto Tools->Options->Text Editor->All Languages->CodeLens -> Enable CodeLens (Checked).

0
Gregory Mertens On

In my case I had a circular reference in one of the projects in my solution.

My solution had three projects. One was called 'SendGrid' and it used the Sendgrid api and such, but my project assembly name was also called 'SendGrid' and I must have accidently referenced its own dll. Took that out and all three projects started working with code lens again.