Skip to main content
System.ComponentModel.Annotations package icon

System.ComponentModel.Annotations

Provides attributes that are used to define metadata for objects used as data sources. Commonly Used Types: System.ComponentModel.DataAnnotations.ValidationResult System.ComponentModel.DataAnnotations.IValidatableObject System.ComponentModel.DataAnnotations.ValidationAttribute System.ComponentModel.DataAnnotations.RequiredAttribute System.ComponentModel.DataAnnotations.StringLengthAttribute System.ComponentModel.DataAnnotations.DisplayAttribute System.ComponentModel.DataAnnotations.RegularExpressionAttribute System.ComponentModel.DataAnnotations.DataTypeAttribute System.ComponentModel.DataAnnotations.RangeAttribute System.ComponentModel.DataAnnotations.KeyAttribute When using NuGet 3.x this package requires at least version 3.4.

Total Downloads
3.3B
3,296,443,318
Published
Apr 23, 2020
Latest stable version

Install

.NET CLI
dotnet add package System.ComponentModel.Annotations --version 5.0.0-preview.3.20214.6
Package Manager Console
Install-Package System.ComponentModel.Annotations -Version 5.0.0-preview.3.20214.6
PackageReference
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0-preview.3.20214.6" />

Frameworks

MonoAndroid1.0 MonoTouch1.0 .NETFramework4.5 .NETFramework4.6.1 .NETCore5.0 .NETStandard1.1 .NETStandard1.3 .NETStandard1.4 .NETStandard2.0 .NETStandard2.1 .NETPortable0.0-Profile7 UAP10.0.16299 Windows8.0 Xamarin.iOS1.0 Xamarin.Mac2.0 Xamarin.TVOS1.0 Xamarin.WatchOS1.0

Dependencies

[1.6.1, )
[4.3.0, )
NETStandard.Library
.NETStandard1.1
[1.6.1, )
NETStandard.Library
.NETStandard1.3
[1.6.1, )
System.ComponentModel
.NETStandard1.3
[4.3.0, )
NETStandard.Library
.NETStandard1.4
[1.6.1, )
System.ComponentModel
.NETStandard1.4
[4.3.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 17 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.