Why does visual studio say 0 REFERENCE?

MOG HAZZ 1 Reputation point
2020-08-16T02:17:46.893+00:00

This is the second code that I am writing and I think I may have clicked something wrong. Every time I open the code I see 0 REFERENCE.
How to fix this error?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,827 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points
    2020-08-17T07:41:45.807+00:00

    Hi MOGHAZZ-6526,

    You could go to Tools/Options/Text Editor/CodeLens, then enable all options.
    17918-annotation-2020-08-17-1313925.jpg

    If this issue persists, we suggest you could create a new console application, then check if it could work.

    Best Regards,
    Dylan

    0 comments No comments