CsAssay.Analyzers 0.1.2

dotnet add package CsAssay.Analyzers --version 0.1.2
                    
NuGet\Install-Package CsAssay.Analyzers -Version 0.1.2
                    
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="CsAssay.Analyzers" Version="0.1.2">
  <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="CsAssay.Analyzers" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="CsAssay.Analyzers">
  <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 CsAssay.Analyzers --version 0.1.2
                    
#r "nuget: CsAssay.Analyzers, 0.1.2"
                    
#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 CsAssay.Analyzers@0.1.2
                    
#: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=CsAssay.Analyzers&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=CsAssay.Analyzers&version=0.1.2
                    
Install as a Cake Tool

CSharpAssay analyzers

CsAssay.Analyzers supplies the admitted CSharpAssay Roslyn diagnostics to editor and build hosts. The package embeds the analyzer, its three CSharpAssay-owned runtime dependencies under analyzers/dotnet/cs, and a transitive MSBuild enforcement target.

<PackageReference Include="CsAssay.Analyzers"
                  Version="0.1.2"
                  PrivateAssets="all" />

The package is a research preview. Only rules marked Admitted can block a CSharpAssay release verdict. See the repository documentation for policy, suppression, staged adoption, installation, and rollback guidance. The six Phase 6 contextual/heuristic rules are informational and cannot block in 0.1.2.

CsAssayEnforceOnBuild defaults to true. Admitted violations therefore fail ordinary dotnet build; disabling analyzers or listing an admitted CSharpAssay rule in NoWarn fails with an explicit gate error. Set the property to false only for a reviewed emergency rollback. Under global warnings-as-errors, that rollback keeps CSharpAssay diagnostics visible while exempting only admitted CSharpAssay IDs from error promotion; unrelated warnings remain errors.

The analyzer package does not consume CLI Core/Shell policy. Its enforcement scope is the project that installs it, so keep the reference on reviewed core projects rather than installing it centrally across shell projects. The authoritative CLI remains required for graph, all-target-framework, configured-test, boundary-policy, and completeness evidence.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.1.2 189 8/2/2026
0.1.1 140 8/1/2026
0.1.0 122 7/31/2026