SonarAnalyzer.CSharp 8.21.0.30542

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package SonarAnalyzer.CSharp --version 8.21.0.30542
                    
NuGet\Install-Package SonarAnalyzer.CSharp -Version 8.21.0.30542
                    
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="8.21.0.30542">
  <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="8.21.0.30542" />
                    
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 8.21.0.30542
                    
#r "nuget: SonarAnalyzer.CSharp, 8.21.0.30542"
                    
#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@8.21.0.30542
                    
#: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=8.21.0.30542
                    
Install as a Cake Addin
#tool nuget:?package=SonarAnalyzer.CSharp&version=8.21.0.30542
                    
Install as a Cake Tool

Roslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code. For an even better overall experience, you can use SonarLint for Visual Studio, which is a free extension (https://www.sonarlint.org/visualstudio/) that can be used standalone or with SonarQube (https://www.sonarqube.org/) and/or SonarCloud (https://sonarcloud.io/).

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 (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 617,985 7/22/2025
10.14.0.120626 101,327 7/16/2025
10.13.0.120203 130,693 7/9/2025
10.12.0.118525 376,675 6/18/2025
10.11.0.117924 277,212 6/6/2025
10.10.0.116381 491,295 5/19/2025
10.9.0.115408 417,298 5/1/2025
10.8.0.113526 562,914 4/8/2025
10.7.0.110445 1,221,763 2/28/2025
10.6.0.109712 1,031,044 1/29/2025
10.5.0.109200 499,075 1/10/2025
10.4.0.108396 769,771 12/18/2024
10.3.0.106239 736,782 11/26/2024
9.32.0.97167 4,396,619 8/14/2024
9.31.0.96804 297,274 8/6/2024
9.30.0.95878 521,949 7/23/2024
9.29.0.95321 324,515 7/12/2024
9.28.0.94264 467,757 6/26/2024
9.27.0.93347 534,057 6/11/2024
9.26.0.92422 480,288 5/31/2024
9.25.1.91650 267,545 5/23/2024
9.25.0.90414 517,564 5/6/2024
9.24.0.89429 758,201 4/23/2024
9.23.2.88755 564,284 4/11/2024
9.23.1.88495 310,187 4/2/2024
9.23.0.88079 215,305 3/25/2024
9.22.0.87781 152,810 3/20/2024
9.21.0.86780 568,096 3/4/2024
9.20.0.85982 733,767 2/20/2024
9.19.0.84025 611,579 1/31/2024
9.18.0.83559 216,631 1/26/2024
9.17.0.82934 473,083 1/17/2024
9.16.0.82469 1,394,351 12/21/2023
9.15.0.81779 607,581 12/6/2023
9.14.0.81108 202,213 11/28/2023
9.12.0.78982 1,424,577 10/12/2023
9.11.0.78383 387,394 9/27/2023
9.10.0.77988 355,101 9/15/2023
9.9.0.77355 338,350 9/4/2023
9.8.0.76515 242,474 8/21/2023
9.7.0.75501 516,151 8/4/2023
9.6.0.74858 230,787 7/25/2023
9.5.0.73987 476,280 7/7/2023
9.4.0.72892 603,115 6/20/2023
9.3.0.71466 343,099 6/6/2023
9.2.0.71021 202,313 5/31/2023
9.1.0.70676 212,451 5/25/2023
9.0.0.68202 905,333 4/26/2023
8.56.0.67649 837,907 4/18/2023
8.55.0.65544 1,103,478 3/21/2023
8.54.0.64047 1,146,752 3/7/2023
8.53.0.62665 417,936 2/20/2023
8.52.0.60960 631,461 1/31/2023
8.51.0.59060 1,552,843 12/20/2022
8.50.0.58025 693,967 12/5/2022
8.49.0.57237 285,065 11/22/2022
8.48.0.56517 361,752 11/8/2022
8.47.0.55603 654,638 10/18/2022
8.46.0.54807 406,465 10/3/2022
8.45.0.54064 437,181 9/16/2022
8.44.0.52574 899,615 8/19/2022
8.43.0.51858 668,361 8/3/2022
8.42.0.51121 480,520 7/18/2022
8.41.0.50478 271,124 7/4/2022
8.40.0.48530 1,078,671 5/31/2022
8.39.0.47922 810,710 5/12/2022
8.38.0.46746 461,648 4/25/2022
8.37.0.45539 1,121,478 3/30/2022
8.36.1.44192 622,282 3/4/2022
8.36.0.43782 302,413 2/23/2022
8.35.0.42613 720,541 1/31/2022
8.34.0.42011 443,008 1/17/2022
8.33.0.40503 1,290,572 12/6/2021
8.32.0.39516 403,127 11/15/2021
8.31.0.39249 96,323 11/10/2021
8.30.0.37606 1,489,233 10/6/2021
8.29.0.36737 503,200 9/14/2021
8.28.0.36354 719,591 9/3/2021
8.27.0.35380 399,771 8/6/2021
8.26.0.34506 1,296,958 7/12/2021
8.25.0.33663 262,933 6/21/2021
8.24.0.32949 283,609 6/7/2021
8.23.0.32424 167,091 5/21/2021
8.22.0.31243 338,022 4/29/2021
8.21.0.30542 203,500 4/19/2021
8.20.0.28934 487,901 3/17/2021
8.19.0.28253 267,183 3/1/2021
8.18.0.27296 371,845 2/8/2021
8.17.0.26580 388,047 1/19/2021
8.16.0.25740 325,263 12/21/2020
8.15.0.24505 290,554 11/23/2020
8.14.0.22654 489,648 10/12/2020
8.13.1.21947 455,000 9/21/2020
8.13.0.21683 145,571 9/14/2020
8.12.0.21095 502,144 8/24/2020
8.11.0.20529 158,766 8/11/2020
8.10.0.19839 456,663 7/17/2020
8.9.0.19135 298,481 6/26/2020
8.8.0.18411 431,973 6/5/2020
8.7.0.17535 422,267 5/11/2020
8.6.1.17183 194,495 4/28/2020
8.6.0.16497 358,331 4/1/2020
8.5.0.15942 237,125 3/16/2020
8.4.0.15306 385,656 2/21/2020
8.3.0.14607 199,599 1/31/2020
8.2.0.14119 379,009 1/9/2020
8.2.0-RC1 10,907 12/23/2019
8.1.0.13383 399,016 12/12/2019
8.0.0.9566 793,786 10/22/2019
7.17.0.9346 311,741 10/1/2019
7.16.0.8981 360,802 8/12/2019
7.15.0.8572 478,938 6/18/2019
7.14.0.8411 329,807 5/3/2019
7.13.0.8313 1,137,809 4/15/2019
7.12.0.8217 139,193 3/26/2019
7.11.0.8083 304,495 2/12/2019
7.10.0.7896 233,109 1/9/2019
7.9.1.7622 198,190 12/5/2018
7.9.0.7583 43,544 11/26/2018
7.8.0.7320 202,353 10/30/2018
7.7.0.7192 247,573 10/11/2018
7.6.0.7024 115,850 10/3/2018
7.5.0.6605 200,740 9/3/2018
7.4.0.6452 173,600 8/21/2018
7.3.2.6129 129,543 8/9/2018
7.3.1.5982 54,182 7/31/2018
7.3.0.5690 174,273 7/3/2018
7.2.0.5463 251,458 6/6/2018
7.1.0.5212 199,314 5/3/2018
6.8.2.4717 309,357 2/23/2018
6.8.1.4648 148,010 2/5/2018
6.8.0.4636 22,060 2/5/2018
6.7.1.4347 360,906 12/21/2017
6.7.0.4267 74,790 12/1/2017
6.6.0.3969 532,989 11/7/2017
6.5.0.3766 93,849 10/19/2017
6.4.1.3596 63,797 9/22/2017
6.4.0.3347 66,316 8/31/2017
6.3.0.2862 232,519 8/4/2017
6.2.0.2536 57,032 7/19/2017
6.1.0.2359 62,746 7/5/2017
6.0.0.2033 52,486 6/19/2017
5.11.0.1761 125,619 5/31/2017
5.10.1.1411 210,135 5/8/2017
5.10.0.1344 54,714 5/3/2017
5.9.0.1001 124,294 4/10/2017
1.23.0.1857 52,580 3/2/2017
1.23.0.1828 83,097 3/9/2017
1.22.0.1631 146,511 2/3/2017
1.22.0-RC1 7,868 1/27/2017
1.21.0 45,607 1/12/2017
1.21.0-RC1 8,249 1/9/2017
1.20.1 125,135 12/6/2016
1.20.1-RC1 8,121 12/2/2016
1.20.0 57,410 11/6/2016
1.19.0 37,883 10/24/2016
1.19.0-RC2 8,276 10/21/2016
1.19.0-RC1 8,552 10/12/2016
1.18.0 17,056 9/20/2016
1.17.0 18,488 8/29/2016
1.16.0 16,338 7/27/2016
1.15.0 29,596 6/28/2016
1.14.0 15,228 6/9/2016
1.13.0 322,827 5/18/2016
1.12.0 11,104 5/4/2016
1.11.0 58,969 4/13/2016
1.10.0 221,006 3/3/2016