Koek.CodeAnalysis
2021.1201.19173
Requires NuGet 5.0 or higher.
dotnet add package Koek.CodeAnalysis --version 2021.1201.19173
NuGet\Install-Package Koek.CodeAnalysis -Version 2021.1201.19173
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="Koek.CodeAnalysis" Version="2021.1201.19173"> <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 Koek.CodeAnalysis --version 2021.1201.19173
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Koek.CodeAnalysis, 2021.1201.19173"
#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 Koek.CodeAnalysis as a Cake Addin #addin nuget:?package=Koek.CodeAnalysis&version=2021.1201.19173 // Install Koek.CodeAnalysis as a Cake Tool #tool nuget:?package=Koek.CodeAnalysis&version=2021.1201.19173
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Koek.CodeAnalysis
Shared set of code analysis and code style settings.
Usage
Prerequisites:
- You must be using a SDK-style project (the kind without
packages.config
). - You must be using Visual Studio 2022 or newer.
Installation:
- Install NuGet package
Koek.CodeAnalysis
. - Insert the below property into the
.csproj
file.
<CodeAnalysisRuleset>$(PkgKoek_CodeAnalysis)\content\CodeAnalysis.ruleset</CodeAnalysisRuleset>
The last step must be performed manually, as you may wish to customize when the ruleset is applied and/or merge it to another ruleset.
To actually enable code analysis, you may want to define the following properties:
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisLevel>preview</AnalysisLevel>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- Roslynator.Formatting.Analyzers (>= 3.3.0)
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 |
---|---|---|
2021.1201.19173 | 496 | 12/1/2021 |
2021.1201.18023 | 309 | 12/1/2021 |
2021.1130.44201 | 314 | 11/30/2021 |
2021.1130.33722 | 281 | 11/30/2021 |
2021.1130.18281 | 298 | 11/30/2021 |
2021.1130.17702 | 304 | 11/30/2021 |
2021.1129.60785 | 993 | 11/29/2021 |