Neolution.CodeAnalysis
3.1.0-beta.0
Prefix Reserved
This is a prerelease version of Neolution.CodeAnalysis.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Neolution.CodeAnalysis --version 3.1.0-beta.0
NuGet\Install-Package Neolution.CodeAnalysis -Version 3.1.0-beta.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="Neolution.CodeAnalysis" Version="3.1.0-beta.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.
paket add Neolution.CodeAnalysis --version 3.1.0-beta.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Neolution.CodeAnalysis, 3.1.0-beta.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.
// Install Neolution.CodeAnalysis as a Cake Addin #addin nuget:?package=Neolution.CodeAnalysis&version=3.1.0-beta.0&prerelease // Install Neolution.CodeAnalysis as a Cake Tool #tool nuget:?package=Neolution.CodeAnalysis&version=3.1.0-beta.0&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Neolution Code Analysis rulesets
We maintain two (opinionated) rulesets for all our projects and distribute them, including 3rd-party Roslyn Analyzers (StyleCop and SonarSource) in two respective NuGet packages.
- For Libraries, Tools, Web, UI and other projects
- For projects containing automated tests (less strict rules)
Decisions and opinions
The base ruleset consists of the default ruleset of the Roslyn Analyzers we include in the NuGet package and those used in our build tools.
- We include our own opinionated ruleset with adjusted Analyzer severities as a Global AnalyzerConfig
- In all build configurations other that
Debug
, warnings will be converted to errors. - We include our own stylecop.json configuration file.
Versioning
Given a version number MAJOR.MINOR.PATCH
, an incremented number for:
MAJOR
version means there are incompatible changes with the previous version,MINOR
version means functionality and rules were added, andPATCH
version means that the changes are all completely backwards compatible. Usually when rules were lowered in severity or disabled/removed.
What it means in practice:
- You can (and should) always update the package to the latest
PATCH
version whenever you have the chance to do it, it should never break the build. - Updating to the latest
MINOR
version can break the build and may require minor refactorings. But you can expect to have Roslyn code fixes and/or documentation available for the changes that are needed to fix the build. MAJOR
updates will break your build and may require major refactorings.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- SonarAnalyzer.CSharp (>= 8.56.0.67649)
- StyleCop.Analyzers.Unstable (>= 1.2.0.556)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.3.0-alpha.0 | 51 | 10/11/2024 |
3.2.1 | 226 | 11/18/2024 |
3.2.0 | 3,491 | 10/11/2024 |
3.2.0-alpha.3 | 44 | 10/7/2024 |
3.2.0-alpha.2 | 133 | 10/1/2024 |
3.2.0-alpha.1 | 49 | 10/1/2024 |
3.2.0-alpha.0 | 45 | 10/1/2024 |
3.1.2 | 670 | 10/3/2024 |
3.1.1 | 3,599 | 9/20/2024 |
3.1.1-alpha.0 | 48 | 9/20/2024 |
3.1.0 | 90 | 9/19/2024 |
3.1.0-beta.1 | 620 | 4/3/2024 |
3.1.0-beta.0 | 1,442 | 2/12/2024 |
3.0.5 | 57,149 | 9/28/2023 |
3.0.4 | 104 | 9/27/2023 |
3.0.3 | 7,600 | 7/20/2023 |
3.0.2 | 5,132 | 7/17/2023 |
3.0.1 | 130 | 7/12/2023 |
3.0.0 | 3,258 | 6/28/2023 |
3.0.0-rc.4 | 91 | 6/22/2023 |
3.0.0-rc.3 | 83 | 6/20/2023 |
3.0.0-rc.2 | 83 | 6/16/2023 |
3.0.0-rc.1 | 80 | 6/14/2023 |
3.0.0-rc.0 | 79 | 6/14/2023 |
3.0.0-beta0016 | 22,196 | 3/8/2023 |
3.0.0-beta0015 | 96 | 3/8/2023 |
3.0.0-beta0014 | 104 | 3/3/2023 |
3.0.0-beta0013 | 107 | 3/2/2023 |
3.0.0-beta0011 | 95 | 2/15/2023 |
3.0.0-beta0010 | 93 | 2/15/2023 |
3.0.0-beta0006 | 97 | 2/14/2023 |
3.0.0-beta0005 | 91 | 2/14/2023 |
3.0.0-beta0004 | 96 | 2/14/2023 |
3.0.0-beta0001 | 282 | 2/14/2023 |
2.7.2 | 22,841 | 6/28/2023 |
2.7.2-rc.0 | 80 | 6/14/2023 |
2.7.1 | 199 | 6/14/2023 |
2.7.1-rc.0 | 79 | 6/14/2023 |
2.7.1-alpha.5 | 76 | 6/14/2023 |
2.7.0 | 919 | 5/30/2023 |
2.6.1 | 9,191 | 2/9/2023 |
2.6.0 | 306 | 2/7/2023 |
2.5.9 | 10,001 | 6/23/2022 |
2.5.8 | 43,981 | 3/21/2022 |
2.5.7 | 461 | 3/21/2022 |
2.5.7-fix-targets0001 | 466 | 3/17/2022 |
2.5.6 | 3,135 | 2/18/2022 |