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
#r "nuget: Koek.CodeAnalysis, 2021.1201.19173"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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

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:

  1. Install NuGet package Koek.CodeAnalysis.
  2. 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.

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 258 12/1/2021
2021.1201.18023 159 12/1/2021
2021.1130.44201 161 11/30/2021
2021.1130.33722 157 11/30/2021
2021.1130.18281 157 11/30/2021
2021.1130.17702 175 11/30/2021
2021.1129.60785 844 11/29/2021