Dloizides.Analyzers 0.23.1

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

Dloizides.Analyzers

Roslyn analyzers for the house comment standard (no comments in code, and only short doc comments on public members) and the test-name standard (Method_Scenario_Expected) and feature folders over technical-type folders. Business and logic intent lives in names and in unit / integration test names.

Id Reports
DLZ0001 A // or /* */ comment that is not a tool directive (#pragma, ReSharper, <auto-generated>)
DLZ0002 A doc comment (/// or /** */) on a member not visible outside the assembly: private, internal, private protected, a member of a non-public type, a local function, or a statement
DLZ0003 A doc comment over 3 content lines, a summary over one line, a line over 120 characters, a call chain (→, -> or a line starting Flow:), or using an element other than <summary>, <param>, <returns>, <inheritdoc/> and inline <see>, <c>, <paramref>, <typeparamref>
DLZ0004 A [Fact], [Theory], [Test] or [TestMethod] method (or an attribute derived from one) not named Method_Scenario_Expected: exactly 3 PascalCase parts, the Scenario starting With, When, Without or Given (Create_WithValidRequest_Returns201)
DLZ0005 A type declared in a namespace with a Services, Helpers, Utils, Utilities or Common segment: organize by feature/use case (ARCH-VSA-1 "Vertical Slice Architecture inside Clean Architecture"). Runs only when HouseArchitectureStyle is CleanVerticalSlice; skipped in assemblies ending .Shared, .SharedKernel or Tests; one diagnostic per top-level type

Pattern rules

Default severity error, category Dloizides.Patterns (PATTERN-1 "Use the house pattern wherever its trigger appears"). Rules 6, 7 and 9 skip assemblies ending Tests.

Id Reports
DLZ0006 new HttpClient(...) outside a lambda passed to AddHttpClient, ConfigureHttpClient, ConfigurePrimaryHttpMessageHandler or AddTypedClient (PAT-HTTP-1)
DLZ0007 IConfiguration (or a type implementing it) as a constructor or primary-constructor parameter, or a field of a type whose constructors do not take it; static classes, Startup and Program are skipped (PAT-CONFIG-1)
DLZ0008 An if or ?: whose condition is only role checks (IsInRole, Contains/Any on a *Roles value) and whose branch calls Forbid/ForbidAsync/ForbiddenAsync/SendForbiddenAsync or creates a ForbidResult; a condition that also checks ownership is not reported (PAT-AUTHZ-1)
DLZ0009 GetOrAdd/TryAdd/AddOrUpdate/TryUpdate or an indexer write on a static ConcurrentDictionary outside its field initializer or static constructor (PAT-CACHE-1)
DLZ0010 A [SuppressMessage] / [UnconditionalSuppressMessage] for DLZ0006-DLZ0009 with a missing, empty or blank Justification
DLZ0011 A project whose MSBuild property HouseArchitectureStyle is missing, empty or not Clean / CleanVerticalSlice (case-sensitive); one diagnostic per compilation (PAT-STYLE-1)

Lone <summary> / </summary> lines and <inheritdoc/> do not count toward the 3-line cap. Generated code (<auto-generated>, *.g.cs, *.Designer.cs, generated_code = true) and files under a Migrations folder are skipped. Works with and without GenerateDocumentationFile.

Adopt

<PackageReference Include="Dloizides.Analyzers" Version="0.6.0" PrivateAssets="all" />

Put it in the repo's Directory.Build.props with the service's declared architecture style (D-PAT-10 "Architecture style is a per-service choice"): Clean = Clean Architecture layers only, CleanVerticalSlice = Clean layers plus feature folders (turns on DLZ0005). The package's buildTransitive props make the property visible to the analyzers.

<PropertyGroup>
  <HouseArchitectureStyle>CleanVerticalSlice</HouseArchitectureStyle>
</PropertyGroup>

Diagnostics default to warning; once the repo's comment cleanup has landed, make them errors in .editorconfig (a project that legitimately keeps a technical-type namespace sets dotnet_diagnostic.DLZ0005.severity = none):

[*.cs]
dotnet_diagnostic.DLZ0001.severity = error
dotnet_diagnostic.DLZ0002.severity = error
dotnet_diagnostic.DLZ0003.severity = error
dotnet_diagnostic.DLZ0004.severity = error
dotnet_diagnostic.DLZ0005.severity = error

Build and test

dotnet test tests/Dloizides.Analyzers.Tests

Publish with ./publish.ps1 -Bump patch -ApiKey $env:NUGET_API_KEY from a clean, committed tree.

Rule packs and DLZ0012-DLZ0013 (D-PAT-12 "Whole rule packs as warnings, one shared approach")

Referencing this package also brings Meziantou.Analyzer, Microsoft.VisualStudio.Threading.Analyzers and SonarAnalyzer.CSharp. buildTransitive/Dloizides.Analyzers.packs.globalconfig sets every default-enabled Info or Error rule of the packs to warning and turns MA0004 (ConfigureAwait: ASP.NET Core has no SynchronizationContext) and MA0048 (file name = type name: a vertical-slice file holds Request + Endpoint + Validator) off (global_level = 50: above the packs own configs, below a repo .globalconfig at 100; a repo .editorconfig always wins). buildTransitive/Dloizides.Analyzers.targets adds that file to EditorConfigFiles in a target before CoreCompile (a static GlobalAnalyzerConfigFiles item never reached the compiler) and appends every pack rule ID plus DLZ0001-DLZ0005, DLZ0012 and DLZ0013 to WarningsNotAsErrors, so a TreatWarningsAsErrors repo still builds; the warnings are counted by the ratchet, not held to zero. PackRuleFilesTests fails when a pack bump changes the rule list and names the regenerated file to copy in.

ID Rule
DLZ0012 A class named *Dto, *Command or *Event that derives from object is a record (PAT-REVIEW-7)
DLZ0013 A concrete *Service/*Repository/*Handler/*Provider/*Manager/*Client of the same solution is not constructed with new outside Program.cs/Startup.cs, a method taking IServiceCollection/IServiceProvider/a host builder, a lambda passed to Add*/TryAdd*/Configure*, or the type's own factory (PAT-REVIEW-4)

DLZ0024 (FORM-VALID-1 "One validation contract, shared by server and client")

Rule Reports
DLZ0024 Inside a Validator<T> / AbstractValidator<T>, a RuleFor(x => x.<Username, Password, Email, FirstName, LastName, Phone, Url, ...>) chain with Matches(...), a Must(...) calling IsMatch, or MinimumLength/MaximumLength/Length with a number literal or a const of that validator. Use the generated Valid<Kind>() from DLoizides.Validation 1.3.0+ instead.

Shrink-only baseline validation-drift-baseline.txt (same path count format as below; DLZ0019 reports an entry above the count). With DloizidesBaselinedRulesAsErrors=true DLZ0024 becomes an error only when that repo's validation-drift-baseline.txt is an existing AdditionalFile, so a service bumps the package first and freezes its baseline second.

DLZ0025 (MUTABLE-STATIC-1 "No writable static state in production C#; values come through DI or options")

Rule Reports
DLZ0025 A static field that is neither const nor readonly ([ThreadStatic] included), or a static property with any setter (set, private set), in an assembly whose name does not end in Tests. Allowed: const, static readonly, get-only static properties. Take the value through DI or IOptions<T>. Warning, listed in WarningsNotAsErrors.

DLZ0026 (STATIC-PURE-1 "A static class holds only pure stateless methods, extension methods or constants")

Rule Reports
DLZ0026 Inside a static class (nested ones included), outside assemblies whose name ends in Tests: any member of System.IO.File, System.IO.Directory, HttpClient or Process (constructors included); a FileStream / StreamReader / StreamWriter constructor whose first parameter is a path string; DateTime.Now / UtcNow / Today, DateTimeOffset.Now / UtcNow (Stopwatch is allowed); Environment.GetEnvironmentVariable(s); any IConfiguration member or extension (GetSection, indexer, GetValue, Bind); IServiceProvider.GetService / GetRequiredService / GetServices and the keyed variants. Skipped (composition root, 0.16.1+): methods with a startup-builder parameter, that is a type (or a generic constraint) that is or implements IServiceCollection, IApplicationBuilder, WebApplication or IHostBuilder, any *Builder in Microsoft.Extensions.* / Microsoft.AspNetCore.* (WebApplicationBuilder, IHostApplicationBuilder, IEndpointRouteBuilder, IMvcBuilder, IHttpClientBuilder, OptionsBuilder<T>, IHealthChecksBuilder, ...), or any type with an IServiceCollection Services property; lambdas inside them; private helpers of the same non-partial class whose every use is a call from those members (transitively), or, for a helper taking only an IServiceProvider, a DI factory method group passed there. Writable static fields are DLZ0025, not this rule. Warning, listed in WarningsNotAsErrors.

Baseline: static-pure-baseline.txt as an AdditionalFile, same shrink-only format as DLZ0016 (allowed violation count per file); DLZ0019 reports an entry above the actual count. With <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and that file present, DLZ0026 and DLZ0019 are errors.

DLZ0028 (NO-EXCEPTION-FLOW-1 "Never try/catch to test a parse; use TryParse")

Rule Reports
DLZ0028 A catch of FormatException, InvalidCastException or OverflowException whose body only falls back: empty, return;, return <constant / null / default>;, x = <constant / null / default>;, continue;, break;. Outside assemblies whose name ends in Tests. A catch that logs, rethrows or computes a value is not reported. Warning, listed in WarningsNotAsErrors.

Baseline: exception-flow-baseline.txt as an AdditionalFile, same shrink-only format as DLZ0016; with <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and that file present, DLZ0028, DLZ0019 and DLZ0027 are errors.

DLZ0029 (SEALED-RECORD-1 "A record nothing derives from is sealed")

Rule Reports
DLZ0029 A record / record class that is neither sealed nor abstract and that no record of the same compilation derives from (generic bases match by definition). record struct is skipped. One diagnostic per record, at its first declaration (partial records once). Test assemblies are checked too. A record derived from in another assembly is reported: list it in the baseline. Code fix (0.19.0+): adds sealed before partial, keeping leading trivia. Warning, listed in WarningsNotAsErrors.

Baseline: sealed-record-baseline.txt as an AdditionalFile, same shrink-only format as DLZ0016; with <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and that file present, DLZ0029, DLZ0019 and DLZ0027 are errors.

DLZ0030-DLZ0032 and MA0053 (DOC-CONTRACT-1, CATCH-SCOPE-1, PAIR-BY-KEY-1, SEALED-TYPE-1)

Rule Reports
DLZ0030 DOC-CONTRACT-1 "Document the contract: a public interface member has the summary; its implementation has none or <inheritdoc/>". (a) A method, property, indexer or event of an interface that is public up to the namespace, with no <summary>; (b) a class or struct member with its own <summary> that implements (implicitly or explicitly) an interface member that has one. Reads /// and /** */ with or without GenerateDocumentationFile. Baseline doc-contract-baseline.txt.
DLZ0031 CATCH-SCOPE-1 "A skip-and-continue catch never wraps a shared dependency". A catch with no throw in it, of a try inside a foreach/for/while/do of the same method, whose try awaits a call on a receiver typed *Repository or derived from Microsoft.EntityFrameworkCore.DbContext (any step of the receiver chain), or a SaveChanges* method. Reported at catch. Baseline catch-scope-baseline.txt.
DLZ0032 PAIR-BY-KEY-1 "Pair results to their inputs by key, never by position". Any System.Linq.Enumerable.Zip call (extension or static), at Zip. When both sides come from one source, suppress with [SuppressMessage("Maintainability", "DLZ0032", Justification = "...")]. Baseline pair-by-key-baseline.txt.
MA0053 SEALED-TYPE-1 "A type nothing derives from is sealed": the packs globalconfig sets MA0053.public_class_should_be_sealed = true, so public classes are reported too (records stay DLZ0029). A repo lowers it in its own .editorconfig with the count until it reaches zero.

All three DLZ rules skip assemblies whose name ends in Tests and generated paths, are warnings listed in WarningsNotAsErrors, and take their baseline as an AdditionalFile in the DLZ0016 shrink-only format; with <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and the rule's baseline present, that rule, DLZ0019 and DLZ0027 are errors (0.20.0+).

DLZ0033-DLZ0034 and S3242 (NARROW-OPTIONS-1, READONLY-PARAM-1)

Rule Reports
DLZ0033 NARROW-OPTIONS-1 "A class takes IOptions of the smallest settings section it reads". A constructor parameter typed Microsoft.Extensions.Options IOptions<T>, IOptionsMonitor<T> or IOptionsSnapshot<T> whose .Value / .CurrentValue (directly, or through the field or local it is stored in) is only used to read one property, and that property is a settings class (not a string, value type or collection). Any other use of the options or the value (passed on, returned, a method call) reports nothing. Partial types are skipped. Reported at the parameter. Baseline narrow-options-baseline.txt.
DLZ0034 READONLY-PARAM-1 "A parameter the method only reads is a read-only type". A List<T> parameter of a method or constructor with a body (any accessibility), or a private readonly List<T> field, whose every use is a foreach source, .Count, an indexer read, a System.Linq.Enumerable extension call, a constructor assignment to the field, or a pass to an IReadOnlyList<T>/IReadOnlyCollection<T>/IEnumerable<T> parameter, field, or a same-file List<T> parameter/field that is itself only read (0.23.0). A return, ref/out or mutating call keeps it quiet. Overrides, virtual/abstract members and interface implementations are skipped. Reported at the parameter or field variable. Baseline readonly-param-baseline.txt. Added because S3242 does not report a List<T> parameter that is only iterated (proved in ReadOnlyParameterPackTests).
S3242 Sonar "Method parameters should be declared with base types", raised to warning in the packs globalconfig (0.21.0+); listed in WarningsNotAsErrors with the other pack rules.

Both DLZ rules skip assemblies whose name ends in Tests and generated paths, are warnings listed in WarningsNotAsErrors, and with <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and the rule's baseline present, that rule, DLZ0019 and DLZ0027 are errors.

DLZ0033 extension, DLZ0035-DLZ0036 and CA2208 (NARROW-OPTIONS-1, DICT-BY-VALUE-1, NO-NULL-FORGIVE-1, ARG-EXCEPTION-1)

Rule Reports
DLZ0033 (0.22.0+) NARROW-OPTIONS-1 extended: "a method takes the one settings value it reads, never the whole settings object". A constructor or method parameter of a non-generic class named *Settings / *Options with two or more public properties, whose every read (directly, through !, ?., or the field/local it is stored in) starts with the same property. Null checks are ignored; passing it on, returning it or calling a method on it reports nothing. Overrides, virtual/abstract members, interface implementations and extension this parameters are skipped. Reported at the parameter with the common chain ('Admie.TimeZoneId'). Same baseline narrow-options-baseline.txt.
DLZ0035 DICT-BY-VALUE-1 "Never search a dictionary through its values; build the reverse lookup once". Enumerable First, FirstOrDefault, Single, SingleOrDefault, Where, Any or Count on an IDictionary<,> / IReadOnlyDictionary<,> (or a type implementing one) whose lambda reads its parameter's .Value; and .Values.Contains(...) / ContainsValue(...) inside a for/foreach/while/do of the same member. Reported at the method name. Baseline dictionary-by-value-baseline.txt.
DLZ0036 NO-NULL-FORGIVE-1 "No ! null-forgiving operator in production code". Every ! null-forgiving operator, at the operator. Paths under Migrations/ are skipped. Baseline null-forgiving-baseline.txt.
CA2208 ARG-EXCEPTION-1 "An argument exception names a real parameter". .NET SDK rule raised to error in the packs globalconfig (0.22.0+), so new ArgumentOutOfRangeException(nameof(lookup.SheetIndex)) fails the build. A repo that cannot fix its existing cases at bump time lowers it in its own .editorconfig with the count until it reaches zero.

Both new DLZ rules skip assemblies whose name ends in Tests and generated paths, are warnings listed in WarningsNotAsErrors, and with <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> and the rule's baseline present, that rule, DLZ0019 and DLZ0027 are errors.

CANCEL-FORWARD-1 ("Pass the CancellationToken to every async call that accepts one")

MA0040 (Meziantou) and CA2016 (.NET SDK) ship at error in Dloizides.Analyzers.packs.globalconfig (0.17.0+), so a build fails when a method has a CancellationToken in scope and calls an overload that takes one without passing it. A repo that cannot fix its existing calls at bump time lowers them in its own .editorconfig and lists the count there until it reaches zero.

DLZ0016-DLZ0019 (LINQ-1, MEMBER-ORDER-1, FILE-SIZE-1, shrink-only baselines)

All four are warnings listed in WarningsNotAsErrors. Files under obj/ or bin/ and *.g.cs / *.Designer.cs / *ModelSnapshot.cs are skipped; hand-written migrations and generated/ folders are checked.

ID Reports
DLZ0016 A LINQ query expression (from x in ... select); use method syntax. One diagnostic per outermost query (LINQ-1 "Write LINQ in method syntax")
DLZ0017 A field, property, method or instance constructor above a more accessible member of the same kind in the same class, struct or record; order is public, internal, protected internal, protected, private protected, private (no modifier = private). Static constructors and explicit interface implementations are skipped. One diagnostic per misplaced member (MEMBER-ORDER-1)
DLZ0018 A source file over 300 raw lines (the final newline does not count), or a file over its entry in a file-size-baseline.txt AdditionalFile (FILE-SIZE-1 "A file stays under its size limit; big files only shrink")
DLZ0019 A baseline entry above the file's actual count (violations for DLZ0016/DLZ0017, lines for DLZ0018): lower the entry to the count, or remove it at 0
DLZ0027 A file listed in a violation baseline (linq-syntax-baseline.txt, member-order-baseline.txt, static-pure-baseline.txt, validation-drift-baseline.txt, sealed-record-baseline.txt, entry above 0) with more violations than its entry: one diagnostic at the file start naming the actual and allowed count and how many to fix, next to every violation (0.17.0+). Unlisted files get none; DLZ0018 already names the allowed length. Escalated with DLZ0019

Baseline: add <AdditionalFiles Include="$(MSBuildThisFileDirectory)file-size-baseline.txt" /> (for example in Directory.Build.props). Each line is <path relative to the baseline file> <lines>, for example src/Orders/OrderService.cs 412; paths match case-insensitively with / or \. A listed file may stay at or under its number; lower the number when the file shrinks (DLZ0019 reports a number above the actual count).

Errors: set <DloizidesBaselinedRulesAsErrors>true</DloizidesBaselinedRulesAsErrors> to report DLZ0016-DLZ0019 and DLZ0027 as errors. It takes effect only when at least one of the three baseline files is an existing AdditionalFile, so a build without them (for example a Docker build that does not copy them) keeps warnings.

The same shrink-only format applies to linq-syntax-baseline.txt (DLZ0016) and member-order-baseline.txt (DLZ0017), where the number is the allowed violation count in that file. A file at or under its count reports nothing; a file above it reports every violation in it. Each rule reads only its own baseline file.

DLZ0015 (REPO-ONLY-1 "Only repositories touch the database")

DLZ0015 (warning, listed in WarningsNotAsErrors) reports a constructor parameter (primary constructors included) or a field whose type is a DbContext subclass or IDbContextFactory<T>, in a type whose name does not end in Repository or Store. Not reported: DbContext subclasses, IEntityTypeConfiguration<T> and IDesignTimeDbContextFactory<T> implementations, Migration and ModelSnapshot subclasses, test assemblies (name ends in Tests), and compilations without EF Core. A field is reported only when no constructor of its type takes the context, so one class gets one warning. Existing offenders are frozen in the service's RepositoryOnlyDatabaseRules exemptions (Dloizides.ArchitectureTests).

DLZ0014 (REVIEW-THREADS-1 C4 "Routes are RESTful (resource noun + HTTP verb), test fixtures included")

DLZ0014 (warning, listed in WarningsNotAsErrors) reports a string-literal route template whose path segment is named after an action. It reads the first positional argument of [Route], [HttpGet], [HttpPost], [HttpPut], [HttpDelete], [HttpPatch], and every string argument of Get, Post, Put, Delete, Patch, Routes called inside a method named Configure (FastEndpoints). Test projects are not exempt: a fixture route is a route.

Each segment's leading token is checked: the segment up to the first -, _, . or upper-case letter, lower-cased. {param} segments are skipped. A segment equal to [action] (any case) is always flagged: the MVC method name becomes the path.

Action words: get, add, list, search, save, send, edit, set, run, create, update, delete, remove, fetch, insert, execute, calculate. A leading token that starts with one is flagged (get, getall, getbyid, sendemail, addclaim, createwithclaims, update-status, sendMessage) unless:

Exception Examples not flagged
the rest is a noun ending: s, r, rs, er, ers, es, ion, ions, or, ors, al, ing, ings updates, fetcher, fetchers, inserts, lists
the rest is a participle d/ed, alone or followed by by, on, at, date, time, from, to createdby, createdon, updatedat, added
the token starts with a noun: setting, setpoint, setup, settle, address, listing, listen, runtime, runner, editor, edition settings, setpoints, setup, settlements, address, addresses, listings, runtime-switch

Tokens that do not start with an action word pass: deletion(s), insertion, calculator, executions, v1, {id:guid}. Residue: a verb that is not the leading token (bulk-delete) is not seen; a run-on noun missing from the list (sendgrid, getaway) is flagged and needs a justified suppression. Constants, interpolated strings and minimal-API Map* calls are not read.

Measured before shipping (2026-10-26, grep estimate with the same word rules): 3 hits across the SaaS backend services, 2 in PROOViD AMLService. Hence warning, not error; consumers keep a frozen baseline and burn it down.

DLZ0020 (MGMT-PORT-1 "Management endpoints never share the public port")

DLZ0020 (warning, listed in WarningsNotAsErrors) reports a call to MapMetrics, MapPrometheusScrapingEndpoint or MapHealthChecks. Map them through UsePrometheusMetrics (Metrics.Client), MapHealthCheckEndpoints (ServiceDefaults.HealthChecks) or MapPlatformHealthChecks (Dloizides.ServiceDefaults), which answer only on the management port when it is enabled. Not reported: those three package assemblies and test assemblies (name ends in Tests).

DLZ0021 (SVCDEF-1 "Cross-cutting setup comes from ServiceDefaults")

DLZ0021 reports a call to AddAuthentication, AddJwtBearer, AddCors, UseSerilog, AddRateLimiter, AddProblemDetails, AddResponseCompression or UseExceptionHandler whose containing type lives under a Microsoft or Serilog namespace. Dloizides.ServiceDefaults owns that setup; configure it through its options. Not reported: assemblies whose name starts with Dloizides.ServiceDefaults, test assemblies (name ends in Tests), and same-named methods declared in other namespaces.

Severity: warning, listed in WarningsNotAsErrors like DLZ0020, so a service not yet on ServiceDefaults 2.0 keeps building. A service on 2.0 opts in to a build error with <DloizidesEnableServiceDefaultsGuardErrors>true</DloizidesEnableServiceDefaultsGuardErrors>.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.23.1 79 11/26/2026
0.23.0 74 11/26/2026
0.22.0 86 11/25/2026
0.21.0 83 11/25/2026
0.20.0 82 11/25/2026
0.19.0 78 11/25/2026
0.18.0 81 11/25/2026
0.14.0 91 11/23/2026
0.13.0 99 11/23/2026
0.12.0 114 11/21/2026
0.11.0 108 11/19/2026
0.10.1 270 11/19/2026
0.10.0 99 11/19/2026
0.9.0 132 10/27/2026
0.8.2 112 10/26/2026
0.8.1 102 10/26/2026
0.8.0 107 10/26/2026
0.7.4 373 10/19/2026
0.7.3 95 10/19/2026
0.7.2 98 10/19/2026
Loading failed