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.
Requires a project targeting .NET 10 or later.
dotnet add package Cloudtoid.CodeAnalysisFor a library, keep this build-time dependency private by adding PrivateAssets="all" to its PackageReference.
- 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.