Alvecta.Analyzers.ValueObjectConstruction 1.1.23

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

Alvecta.Analyzers.ValueObjectConstruction

The Alvecta value-object-construction Roslyn analyzer, shipped as a standalone package so it can be applied selectively — reference it only from the presentation-tier assemblies it should police (the .Api. projects, where raw external input enters), rather than solution-wide.

Rules

ID Category Description
ALV1101 Alvecta.Design Enforces correct construction of value objects at presentation boundaries.

Usage

Reference it only from the projects you want it to police:

<PackageReference Include="Alvecta.Analyzers.ValueObjectConstruction" PrivateAssets="all" />

PrivateAssets="all" keeps the analyzer out of your package's dependency closure — it affects your build only, not your consumers'.

Configuration

dotnet_diagnostic.ALV1101.severity = error
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.1.23 86 9/28/2026
1.1.22 92 9/17/2026
1.1.21 85 9/17/2026
1.1.20 90 9/15/2026
1.1.19 89 9/14/2026
1.1.18 95 9/9/2026
1.1.17 101 8/21/2026
1.0.16 114 8/18/2026
1.0.15 102 8/18/2026
1.0.14 99 8/18/2026
1.0.13 111 7/30/2026
1.0.12 119 7/17/2026
1.0.11 133 6/30/2026
1.0.10 120 6/30/2026
1.0.9 119 6/30/2026
1.0.8 130 6/26/2026
1.0.7 115 6/26/2026
1.0.6 120 6/26/2026
1.0.5 119 6/26/2026
1.0.4 125 6/25/2026
Loading failed