Installation

Prerequisites

  • A project targeting .NET compatible with netstandard 2.0,

    • Here is a table with supported implementations.

Installation

Core package

dotnet add package Validly

Set of predefined validators

dotnet add package Validly.Extensions.Validators

Source Generator

dotnet add package Validly.SourceGenerator

.NET Framework

To use this library with .NET Framework, there are some dependencies you may need to install:

  • System.Threading.Tasks.Extensions

  • Microsoft.Extensions.DependencyInjection

  • Microsoft.Bcl.AsyncInterfaces

These packages can be installed using a NuGet package manager, or the dotnet CLI:

dotnet add package System.Threading.Tasks.Extensions
dotnet add package Microsoft.Extensions.DependencyInjection
dotnet add package Microsoft.Bcl.AsyncInterfaces

Last updated