SonarAnalyzer.CSharp 1.21.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package SonarAnalyzer.CSharp --version 1.21.0
                    
NuGet\Install-Package SonarAnalyzer.CSharp -Version 1.21.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SonarAnalyzer.CSharp" Version="1.21.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SonarAnalyzer.CSharp" Version="1.21.0" />
                    
Directory.Packages.props
<PackageReference Include="SonarAnalyzer.CSharp">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SonarAnalyzer.CSharp --version 1.21.0
                    
#r "nuget: SonarAnalyzer.CSharp, 1.21.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SonarAnalyzer.CSharp@1.21.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SonarAnalyzer.CSharp&version=1.21.0
                    
Install as a Cake Addin
#tool nuget:?package=SonarAnalyzer.CSharp&version=1.21.0
                    
Install as a Cake Tool

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/).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (44)

Showing the top 5 NuGet packages that depend on SonarAnalyzer.CSharp:

Package Downloads
TIKSN-Framework

This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes.

Neolution.CodeAnalysis

Configures Code Analysis for Neolution Projects

Wally.CleanArchitecture.Template

CleanArchitecture Template

Lombiq.Analyzers

Lombiq .NET Analyzers: .NET code analyzers and code convention settings for general .NET projects. See the project website for detailed documentation.

Microsoft.Extensions.StaticAnalysis

A curated set of code analyzers and code analyzer settings.

GitHub repositories (62)

Showing the top 20 popular GitHub repositories that depend on SonarAnalyzer.CSharp:

Repository Stars
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
Sophia-Community/SophiApp
:zap: The most powerful open source tweaker on GitHub for fine-tuning Windows 10 & Windows 11
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
MvvmCross/MvvmCross
The .NET MVVM framework for cross-platform solutions, including Android, iOS, MacCatalyst, macOS, tvOS, WPF, WinUI
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
evolutionary-architecture/evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
ErikEJ/EFCorePowerTools
Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
openbullet/OpenBullet2
OpenBullet reinvented
wiremock/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
dotliquid/dotliquid
.NET Port of Tobias Lütke's Liquid template language.
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
BcryptNet/bcrypt.net
BCrypt.Net - Bringing updates to the original bcrypt package
VahidN/EFCoreSecondLevelCacheInterceptor
EF Core Second Level Cache Interceptor
flyingpie/windows-terminal-quake
Enable Quake-style dropdown for (almost) any application.
VahidN/iTextSharp.LGPLv2.Core
iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core
Buildalyzer/Buildalyzer
A utility to perform design-time builds of .NET projects without having to think too hard about it.
Code52/pretzel
A site generation tool (and then some) for .NET platforms
vknet/vk
Vkontakte API for .NET
Version Downloads Last Updated
10.15.0.120848 914,857 7/22/2025
10.14.0.120626 124,155 7/16/2025
10.13.0.120203 147,201 7/9/2025
10.12.0.118525 419,091 6/18/2025
10.11.0.117924 300,507 6/6/2025
10.10.0.116381 536,405 5/19/2025
10.9.0.115408 442,733 5/1/2025
10.8.0.113526 590,701 4/8/2025
10.7.0.110445 1,273,452 2/28/2025
10.6.0.109712 1,072,797 1/29/2025
10.5.0.109200 513,278 1/10/2025
10.4.0.108396 837,390 12/18/2024
10.3.0.106239 769,014 11/26/2024
9.32.0.97167 4,530,140 8/14/2024
9.31.0.96804 302,214 8/6/2024
9.30.0.95878 537,912 7/23/2024
9.29.0.95321 331,481 7/12/2024
9.28.0.94264 472,934 6/26/2024
9.27.0.93347 546,272 6/11/2024
9.26.0.92422 487,433 5/31/2024
9.25.1.91650 272,730 5/23/2024
9.25.0.90414 525,348 5/6/2024
9.24.0.89429 767,125 4/23/2024
9.23.2.88755 570,075 4/11/2024
9.23.1.88495 314,074 4/2/2024
9.23.0.88079 218,875 3/25/2024
9.22.0.87781 154,665 3/20/2024
9.21.0.86780 574,383 3/4/2024
9.20.0.85982 746,494 2/20/2024
9.19.0.84025 619,196 1/31/2024
9.18.0.83559 220,923 1/26/2024
9.17.0.82934 486,128 1/17/2024
9.16.0.82469 1,403,825 12/21/2023
9.15.0.81779 615,360 12/6/2023
9.14.0.81108 203,604 11/28/2023
9.12.0.78982 1,438,210 10/12/2023
9.11.0.78383 389,313 9/27/2023
9.10.0.77988 359,034 9/15/2023
9.9.0.77355 340,369 9/4/2023
9.8.0.76515 243,926 8/21/2023
9.7.0.75501 518,098 8/4/2023
9.6.0.74858 234,174 7/25/2023
9.5.0.73987 478,717 7/7/2023
9.4.0.72892 608,658 6/20/2023
9.3.0.71466 346,335 6/6/2023
9.2.0.71021 202,683 5/31/2023
9.1.0.70676 217,564 5/25/2023
9.0.0.68202 925,030 4/26/2023
8.56.0.67649 847,925 4/18/2023
8.55.0.65544 1,109,235 3/21/2023
8.54.0.64047 1,151,584 3/7/2023
8.53.0.62665 422,394 2/20/2023
8.52.0.60960 634,569 1/31/2023
8.51.0.59060 1,569,033 12/20/2022
8.50.0.58025 704,065 12/5/2022
8.49.0.57237 286,783 11/22/2022
8.48.0.56517 363,478 11/8/2022
8.47.0.55603 661,513 10/18/2022
8.46.0.54807 408,392 10/3/2022
8.45.0.54064 440,380 9/16/2022
8.44.0.52574 903,666 8/19/2022
8.43.0.51858 671,351 8/3/2022
8.42.0.51121 482,805 7/18/2022
8.41.0.50478 271,573 7/4/2022
8.40.0.48530 1,090,844 5/31/2022
8.39.0.47922 814,871 5/12/2022
8.38.0.46746 463,197 4/25/2022
8.37.0.45539 1,136,804 3/30/2022
8.36.1.44192 623,972 3/4/2022
8.36.0.43782 303,848 2/23/2022
8.35.0.42613 722,235 1/31/2022
8.34.0.42011 445,037 1/17/2022
8.33.0.40503 1,300,046 12/6/2021
8.32.0.39516 404,128 11/15/2021
8.31.0.39249 96,483 11/10/2021
8.30.0.37606 1,490,320 10/6/2021
8.29.0.36737 504,936 9/14/2021
8.28.0.36354 723,537 9/3/2021
8.27.0.35380 402,043 8/6/2021
8.26.0.34506 1,310,711 7/12/2021
8.25.0.33663 263,610 6/21/2021
8.24.0.32949 285,623 6/7/2021
8.23.0.32424 167,355 5/21/2021
8.22.0.31243 338,779 4/29/2021
8.21.0.30542 204,209 4/19/2021
8.20.0.28934 488,822 3/17/2021
8.19.0.28253 267,988 3/1/2021
8.18.0.27296 372,459 2/8/2021
8.17.0.26580 390,209 1/19/2021
8.16.0.25740 326,239 12/21/2020
8.15.0.24505 292,479 11/23/2020
8.14.0.22654 490,527 10/12/2020
8.13.1.21947 456,120 9/21/2020
8.13.0.21683 146,474 9/14/2020
8.12.0.21095 503,305 8/24/2020
8.11.0.20529 159,079 8/11/2020
8.10.0.19839 456,970 7/17/2020
8.9.0.19135 298,829 6/26/2020
8.8.0.18411 432,446 6/5/2020
8.7.0.17535 422,890 5/11/2020
8.6.1.17183 195,952 4/28/2020
8.6.0.16497 359,268 4/1/2020
8.5.0.15942 237,497 3/16/2020
8.4.0.15306 385,986 2/21/2020
8.3.0.14607 200,133 1/31/2020
8.2.0.14119 379,658 1/9/2020
8.2.0-RC1 10,929 12/23/2019
8.1.0.13383 399,124 12/12/2019
8.0.0.9566 795,645 10/22/2019
7.17.0.9346 312,876 10/1/2019
7.16.0.8981 361,665 8/12/2019
7.15.0.8572 480,350 6/18/2019
7.14.0.8411 330,328 5/3/2019
7.13.0.8313 1,139,164 4/15/2019
7.12.0.8217 139,603 3/26/2019
7.11.0.8083 304,876 2/12/2019
7.10.0.7896 233,690 1/9/2019
7.9.1.7622 199,091 12/5/2018
7.9.0.7583 43,635 11/26/2018
7.8.0.7320 204,539 10/30/2018
7.7.0.7192 248,087 10/11/2018
7.6.0.7024 116,353 10/3/2018
7.5.0.6605 201,465 9/3/2018
7.4.0.6452 173,872 8/21/2018
7.3.2.6129 129,663 8/9/2018
7.3.1.5982 54,284 7/31/2018
7.3.0.5690 174,690 7/3/2018
7.2.0.5463 251,665 6/6/2018
7.1.0.5212 199,736 5/3/2018
6.8.2.4717 309,746 2/23/2018
6.8.1.4648 148,927 2/5/2018
6.8.0.4636 22,128 2/5/2018
6.7.1.4347 362,992 12/21/2017
6.7.0.4267 75,042 12/1/2017
6.6.0.3969 534,955 11/7/2017
6.5.0.3766 94,063 10/19/2017
6.4.1.3596 63,992 9/22/2017
6.4.0.3347 66,439 8/31/2017
6.3.0.2862 233,939 8/4/2017
6.2.0.2536 57,140 7/19/2017
6.1.0.2359 62,909 7/5/2017
6.0.0.2033 52,815 6/19/2017
5.11.0.1761 126,513 5/31/2017
5.10.1.1411 211,341 5/8/2017
5.10.0.1344 54,820 5/3/2017
5.9.0.1001 125,368 4/10/2017
1.23.0.1857 52,721 3/2/2017
1.23.0.1828 83,276 3/9/2017
1.22.0.1631 146,713 2/3/2017
1.22.0-RC1 7,890 1/27/2017
1.21.0 45,735 1/12/2017
1.21.0-RC1 8,271 1/9/2017
1.20.1 125,266 12/6/2016
1.20.1-RC1 8,144 12/2/2016
1.20.0 57,518 11/6/2016
1.19.0 38,172 10/24/2016
1.19.0-RC2 8,297 10/21/2016
1.19.0-RC1 8,578 10/12/2016
1.18.0 17,098 9/20/2016
1.17.0 18,531 8/29/2016
1.16.0 16,397 7/27/2016
1.15.0 29,636 6/28/2016
1.14.0 15,271 6/9/2016
1.13.0 323,516 5/18/2016
1.12.0 11,147 5/4/2016
1.11.0 59,125 4/13/2016
1.10.0 225,871 3/3/2016