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 (42)

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 (61)

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 616,531 7/22/2025
10.14.0.120626 101,273 7/16/2025
10.13.0.120203 130,615 7/9/2025
10.12.0.118525 376,552 6/18/2025
10.11.0.117924 277,054 6/6/2025
10.10.0.116381 490,001 5/19/2025
10.9.0.115408 417,190 5/1/2025
10.8.0.113526 562,787 4/8/2025
10.7.0.110445 1,221,115 2/28/2025
10.6.0.109712 1,030,728 1/29/2025
10.5.0.109200 498,983 1/10/2025
10.4.0.108396 769,464 12/18/2024
10.3.0.106239 736,362 11/26/2024
9.32.0.97167 4,395,407 8/14/2024
9.31.0.96804 297,240 8/6/2024
9.30.0.95878 521,881 7/23/2024
9.29.0.95321 324,507 7/12/2024
9.28.0.94264 467,695 6/26/2024
9.27.0.93347 533,838 6/11/2024
9.26.0.92422 480,279 5/31/2024
9.25.1.91650 267,540 5/23/2024
9.25.0.90414 517,317 5/6/2024
9.24.0.89429 758,166 4/23/2024
9.23.2.88755 564,271 4/11/2024
9.23.1.88495 310,165 4/2/2024
9.23.0.88079 215,302 3/25/2024
9.22.0.87781 152,806 3/20/2024
9.21.0.86780 568,019 3/4/2024
9.20.0.85982 733,732 2/20/2024
9.19.0.84025 611,462 1/31/2024
9.18.0.83559 216,619 1/26/2024
9.17.0.82934 473,050 1/17/2024
9.16.0.82469 1,393,676 12/21/2023
9.15.0.81779 607,536 12/6/2023
9.14.0.81108 202,197 11/28/2023
9.12.0.78982 1,424,382 10/12/2023
9.11.0.78383 387,378 9/27/2023
9.10.0.77988 354,954 9/15/2023
9.9.0.77355 338,286 9/4/2023
9.8.0.76515 242,468 8/21/2023
9.7.0.75501 516,136 8/4/2023
9.6.0.74858 230,743 7/25/2023
9.5.0.73987 476,230 7/7/2023
9.4.0.72892 603,101 6/20/2023
9.3.0.71466 343,085 6/6/2023
9.2.0.71021 202,312 5/31/2023
9.1.0.70676 212,451 5/25/2023
9.0.0.68202 905,202 4/26/2023
8.56.0.67649 837,526 4/18/2023
8.55.0.65544 1,103,453 3/21/2023
8.54.0.64047 1,146,091 3/7/2023
8.53.0.62665 417,930 2/20/2023
8.52.0.60960 631,440 1/31/2023
8.51.0.59060 1,552,802 12/20/2022
8.50.0.58025 693,952 12/5/2022
8.49.0.57237 285,058 11/22/2022
8.48.0.56517 361,746 11/8/2022
8.47.0.55603 654,630 10/18/2022
8.46.0.54807 406,458 10/3/2022
8.45.0.54064 437,164 9/16/2022
8.44.0.52574 899,613 8/19/2022
8.43.0.51858 668,219 8/3/2022
8.42.0.51121 480,469 7/18/2022
8.41.0.50478 271,120 7/4/2022
8.40.0.48530 1,078,618 5/31/2022
8.39.0.47922 810,704 5/12/2022
8.38.0.46746 461,639 4/25/2022
8.37.0.45539 1,121,475 3/30/2022
8.36.1.44192 622,250 3/4/2022
8.36.0.43782 302,412 2/23/2022
8.35.0.42613 720,539 1/31/2022
8.34.0.42011 442,981 1/17/2022
8.33.0.40503 1,290,531 12/6/2021
8.32.0.39516 403,121 11/15/2021
8.31.0.39249 96,322 11/10/2021
8.30.0.37606 1,489,216 10/6/2021
8.29.0.36737 503,196 9/14/2021
8.28.0.36354 719,590 9/3/2021
8.27.0.35380 399,755 8/6/2021
8.26.0.34506 1,296,955 7/12/2021
8.25.0.33663 262,932 6/21/2021
8.24.0.32949 283,607 6/7/2021
8.23.0.32424 167,086 5/21/2021
8.22.0.31243 337,993 4/29/2021
8.21.0.30542 203,491 4/19/2021
8.20.0.28934 487,892 3/17/2021
8.19.0.28253 267,181 3/1/2021
8.18.0.27296 371,831 2/8/2021
8.17.0.26580 388,033 1/19/2021
8.16.0.25740 325,257 12/21/2020
8.15.0.24505 290,549 11/23/2020
8.14.0.22654 489,640 10/12/2020
8.13.1.21947 454,998 9/21/2020
8.13.0.21683 145,566 9/14/2020
8.12.0.21095 502,137 8/24/2020
8.11.0.20529 158,764 8/11/2020
8.10.0.19839 456,651 7/17/2020
8.9.0.19135 298,479 6/26/2020
8.8.0.18411 431,958 6/5/2020
8.7.0.17535 422,262 5/11/2020
8.6.1.17183 194,494 4/28/2020
8.6.0.16497 358,312 4/1/2020
8.5.0.15942 237,124 3/16/2020
8.4.0.15306 385,654 2/21/2020
8.3.0.14607 199,581 1/31/2020
8.2.0.14119 378,988 1/9/2020
8.2.0-RC1 10,906 12/23/2019
8.1.0.13383 399,010 12/12/2019
8.0.0.9566 793,762 10/22/2019
7.17.0.9346 311,739 10/1/2019
7.16.0.8981 360,798 8/12/2019
7.15.0.8572 478,913 6/18/2019
7.14.0.8411 329,800 5/3/2019
7.13.0.8313 1,137,780 4/15/2019
7.12.0.8217 139,191 3/26/2019
7.11.0.8083 304,489 2/12/2019
7.10.0.7896 233,098 1/9/2019
7.9.1.7622 198,187 12/5/2018
7.9.0.7583 43,540 11/26/2018
7.8.0.7320 202,351 10/30/2018
7.7.0.7192 247,567 10/11/2018
7.6.0.7024 115,847 10/3/2018
7.5.0.6605 200,733 9/3/2018
7.4.0.6452 173,584 8/21/2018
7.3.2.6129 129,541 8/9/2018
7.3.1.5982 54,178 7/31/2018
7.3.0.5690 174,267 7/3/2018
7.2.0.5463 251,440 6/6/2018
7.1.0.5212 199,304 5/3/2018
6.8.2.4717 309,349 2/23/2018
6.8.1.4648 148,002 2/5/2018
6.8.0.4636 22,053 2/5/2018
6.7.1.4347 360,896 12/21/2017
6.7.0.4267 74,774 12/1/2017
6.6.0.3969 532,981 11/7/2017
6.5.0.3766 93,833 10/19/2017
6.4.1.3596 63,792 9/22/2017
6.4.0.3347 66,303 8/31/2017
6.3.0.2862 232,512 8/4/2017
6.2.0.2536 57,028 7/19/2017
6.1.0.2359 62,740 7/5/2017
6.0.0.2033 52,482 6/19/2017
5.11.0.1761 125,615 5/31/2017
5.10.1.1411 210,130 5/8/2017
5.10.0.1344 54,706 5/3/2017
5.9.0.1001 124,288 4/10/2017
1.23.0.1857 52,576 3/2/2017
1.23.0.1828 83,091 3/9/2017
1.22.0.1631 146,499 2/3/2017
1.22.0-RC1 7,863 1/27/2017
1.21.0 45,600 1/12/2017
1.21.0-RC1 8,243 1/9/2017
1.20.1 125,125 12/6/2016
1.20.1-RC1 8,116 12/2/2016
1.20.0 57,404 11/6/2016
1.19.0 37,877 10/24/2016
1.19.0-RC2 8,270 10/21/2016
1.19.0-RC1 8,547 10/12/2016
1.18.0 17,050 9/20/2016
1.17.0 18,482 8/29/2016
1.16.0 16,334 7/27/2016
1.15.0 29,592 6/28/2016
1.14.0 15,224 6/9/2016
1.13.0 322,822 5/18/2016
1.12.0 11,099 5/4/2016
1.11.0 58,961 4/13/2016
1.10.0 220,988 3/3/2016