ValidationEngine.Analyzers
1.0.1
dotnet add package ValidationEngine.Analyzers --version 1.0.1
NuGet\Install-Package ValidationEngine.Analyzers -Version 1.0.1
<PackageReference Include="ValidationEngine.Analyzers" Version="1.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="ValidationEngine.Analyzers" Version="1.0.1" />
<PackageReference Include="ValidationEngine.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add ValidationEngine.Analyzers --version 1.0.1
#r "nuget: ValidationEngine.Analyzers, 1.0.1"
#:package ValidationEngine.Analyzers@1.0.1
#addin nuget:?package=ValidationEngine.Analyzers&version=1.0.1
#tool nuget:?package=ValidationEngine.Analyzers&version=1.0.1
ValidationEngine.Analyzers
Roslyn analyzer package family for the ValidationEngine standards validation suite, providing compile-time enforcement of the same standards corpus the runtime engine validates against.
What It Is
A development-time-only NuGet analyzer package: a set of Roslyn DiagnosticAnalyzer
implementations, organized by domain (coding, security, caching, database, logging, performance,
testing, etc.), each corresponding to one or more rules in the shared standards corpus.
What It Does
Flags standards violations directly in the IDE and on build — before code is ever committed or
run through validation-engine. It does not ship any runtime behavior into your application.
Its Modularity
This package has no dependency on and is not depended on by ValidationEngine,
ValidationEngine.Agent, ValidationEngine.Link, ValidationEngine.Models, or
ValidationEngine.Reporting. It is a fully independent, compile-time-only enforcement mechanism
for the same standards corpus the rest of the suite validates at "run" time — add it to any
project regardless of whether that project also uses the other components.
How It Works
- Packed with
IncludeBuildOutput=falseandDevelopmentDependency=true— the analyzer DLL is placed underanalyzers/dotnet/csin the package and only runs at compile time, it is never shipped in your application's output. - Each analyzer corresponds to one or more rules in the shared
Docs/Standardscorpus, so the same rule can be enforced live in the IDE (via this package) and again at validation time (viavalidation-engine), keeping both enforcement paths consistent. - Diagnostics are reported with
AnalyzerReleases.Shipped.md/AnalyzerReleases.Unshipped.mdtracking, following standard Roslyn analyzer release conventions.
Installing
This is a development dependency, not a runtime library. Add it to any project you want analyzed:
dotnet add package ValidationEngine.Analyzers
or in the .csproj:
<ItemGroup>
<PackageReference Include="ValidationEngine.Analyzers" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
PrivateAssets="all" is recommended so the analyzer doesn't flow as a transitive dependency to
consumers of your own package.
License
MIT — see LICENSE.
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.