CodeStructure.Analyzers 1.0.7

dotnet add package CodeStructure.Analyzers --version 1.0.7
                    
NuGet\Install-Package CodeStructure.Analyzers -Version 1.0.7
                    
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="CodeStructure.Analyzers" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeStructure.Analyzers" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="CodeStructure.Analyzers" />
                    
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 CodeStructure.Analyzers --version 1.0.7
                    
#r "nuget: CodeStructure.Analyzers, 1.0.7"
                    
#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 CodeStructure.Analyzers@1.0.7
                    
#: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=CodeStructure.Analyzers&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=CodeStructure.Analyzers&version=1.0.7
                    
Install as a Cake Tool

CodeStructure.Analyzers

Roslyn analyzers and code fixes for the CodingStandards ruleset.

Installation

Add the NuGet package to any project in your solution:

  • CodeStructure.Analyzers

The analyzer and code-fix assemblies are delivered via the analyzers/dotnet/cs folder in the package.

.editorconfig support (Visual Studio + ReSharper)

This package ships a .editorconfig and can copy it into the solution directory when a solution is present, otherwise the project directory. The file includes:

  • Analyzer severities (STR*, STY*, NUM*, ENC*)
  • C# and .NET formatting preferences used by Visual Studio
  • ReSharper formatting and inspection preferences

Customization

Copying is opt-in. Enable it and/or override the destination:

<PropertyGroup>
  <CodeStructureEditorConfigRoot>$(SolutionDir)</CodeStructureEditorConfigRoot>
  <CodeStructureEditorConfigCopyEnabled>true</CodeStructureEditorConfigCopyEnabled>
</PropertyGroup>

If .editorconfig already exists at the destination, the package does not overwrite it.

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
1.0.7 1,568 4/14/2026
1.0.0 114 4/13/2026