0

Why might Codelens ignore a class?

This class shows the Codelens mark up " 1 reference"

enter image description here

This class does not

enter image description here

I have tried cleaning and rebuilding I am using VS2017 with Resharper

both classes have a DbSet in the DbContext.

Kirsten
  • 15,730
  • 41
  • 179
  • 318

1 Answers1

1

Sometimes due to cerculer references Codelens does not work properly.

This link https://connect.microsoft.com/VisualStudio/feedback/details/809868/codelens-not-displaying-references

may help you.

Thanks