Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1 KB

File metadata and controls

23 lines (14 loc) · 1 KB

Cloudtoid.CodeAnalysis

Shared C# analyzer configuration for projects that use Cloudtoid's coding conventions. The package brings together StyleCop and Visual Studio threading analyzers with a common ruleset and build settings.

Install

Requires a project targeting .NET 10 or later.

dotnet add package Cloudtoid.CodeAnalysis

For a library, keep this build-time dependency private by adding PrivateAssets="all" to its PackageReference.

What it configures

  • Installs StyleCop and Visual Studio threading analyzers.
  • Imports the Cloudtoid ruleset and StyleCop configuration during builds.
  • Enables warnings as errors.

Build your project after installation to see diagnostics. Review the rules before adopting the package in an existing codebase: warnings can become build failures.

Source and rules · Report an issue · MIT license