On the SonarAnalyzer.CSharp Nuget Package it has the Description:
Analyzers which spot bugs and code smells in your code. This package is best used together with SonarLint for Visual Studio (http://vs.sonarlint.org) and/or the SonarQube platform (http://www.sonarqube.org).
I know that SonarLint is a plugin for VisualStudio, so its rule set would automatically get applied to every project opened in VisualStudio. But if I install the SonarAnalyzer.CSharp Nuget Package onto a project, would having SonarLint give me any more capabilities, or are they just two ways of providing the same Roslyn rules?
SonarLint helps you detect and fix Bugs, Code Smells, and Security Vulnerabilities in-IDE. It supports C#, VB.NET, C, C++, JS, and TS.
SonarLint is a free IDE extension that locates security vulnerabilities while you're coding in your IDE. This includes Visual Studio, JetBrains, Eclipse, and Visual Studio Code.
SonarLint for Visual Studio adds the following functionality to SonarAnalyzer.CSharp (I could be missing minor features):
In general, the biggest benefit is that you will be able to analyze supported non-.NET languages in your solution and/or probably the slight performance improvement of the background analysis.
Above all things, the full SonarLint for Visual Studio will add support for additional languages, while also offering the option to connect to SonarQube/SonarCloud (Connected Mode)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With