Koek.CodeAnalysis 2021.1201.18023

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 5.0 or higher.

dotnet add package Koek.CodeAnalysis --version 2021.1201.18023                
NuGet\Install-Package Koek.CodeAnalysis -Version 2021.1201.18023                
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.18023">
  <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.18023                
#r "nuget: Koek.CodeAnalysis, 2021.1201.18023"                
#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.18023

// Install Koek.CodeAnalysis as a Cake Tool
#tool nuget:?package=Koek.CodeAnalysis&version=2021.1201.18023                

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 snippet into the .csproj file.
<PropertyGroup>
    <CodeAnalysisRuleset>$(PkgKoek_CodeAnalysis)\content\CodeAnalysis.ruleset</CodeAnalysisRuleset>
</PropertyGroup>

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:

<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 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