Search code examples
visual-studiosonarlint

Enable SonarLint in Visual Studio automatically


How can I enable SonarLint in Visual Studio automatically?
Every time I open Visual Studio I must to enable it manually, because it is always disabled


Solution

  • Try uninstalling and then installing again Sonar Lint for Visual Studio.

    A possible reason for this behavior is if Sonar Lint was installed twice in your Visual Studio. I don't know how this could happen, but there is a tool that can detect this situation: DuplicateExtensionFinder. Here is a GitHub comment that talks about this behavior Source