Eternet.Analyzers.FeatureFolder 1.0.4

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

Eternet.Analyzers.FeatureFolder

Roslyn analyzer and code fix package for feature-folder conventions.

Current diagnostics:

  • EANF001: Namespace does not match expected namespace inferred from Features/<Feature>/... path.
  • EANF002: Top-level type role suffix (Handler, Command, Query, Step, Pipeline) does not match feature role namespace segment. Nested feature members such as CreateCity.Handler are intentionally ignored.
  • EANF003: Handler feature segment differs from the feature segment of its matching request type.

Code fix behavior:

  • FeatureFolderPlacementCodeFixProvider rewrites the declared namespace to the expected namespace carried by the diagnostic.
  • The fix is still experimental for repository-wide automation because namespace changes can require solution-closed reference updates.
  • Within the fixed document, the provider also guards common namespace/type collisions. If a newly introduced namespace segment shadows an imported type that was previously resolved semantically, the fix adds a local alias and rewrites the ambiguous type references. Example: after moving a file into Features.ErrorTracking, references to a model type named ErrorTracking become ErrorTrackingModel through using ErrorTrackingModel = global::...Common.Models.ErrorTracking;.
  • Alias suffixes are semantic when possible: Entity, Dto, Contract, otherwise Model.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • 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.4 111 5/7/2026
1.0.3 100 5/6/2026
1.0.2 107 5/4/2026
1.0.1 115 5/4/2026
1.0.0 133 3/12/2026
0.1.0-preview.1 67 3/1/2026