setup project visual studio 2017 tutorial code example
Example: disable codelens visual studio 2019
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature