System.ComponentModel.Annotations 5.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 1.1 .NET Framework 4.5
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package System.ComponentModel.Annotations --version 5.0.0
NuGet\Install-Package System.ComponentModel.Annotations -Version 5.0.0
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="System.ComponentModel.Annotations" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ComponentModel.Annotations --version 5.0.0
#r "nuget: System.ComponentModel.Annotations, 5.0.0"
#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.
// Install System.ComponentModel.Annotations as a Cake Addin
#addin nuget:?package=System.ComponentModel.Annotations&version=5.0.0

// Install System.ComponentModel.Annotations as a Cake Tool
#tool nuget:?package=System.ComponentModel.Annotations&version=5.0.0

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid monoandroid10
MonoMac monomac
MonoTouch monotouch monotouch10
Tizen tizen30 tizen40 tizen60
Universal Windows Platform netcore50 uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451 win8
Xamarin.iOS xamarinios xamarinios10
Xamarin.Mac xamarinmac xamarinmac20
Xamarin.TVOS xamarintvos xamarintvos10
Xamarin.WatchOS xamarinwatchos xamarinwatchos10
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETCore 5.0

  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.1

  • .NETStandard 1.3

  • .NETStandard 1.4

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • MonoAndroid 1.0

    • No dependencies.
  • MonoTouch 1.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0)

    • No dependencies.
  • UAP 10.0.16299

    • No dependencies.
  • Windows 8.0

    • No dependencies.
  • Xamarin.iOS 1.0

    • No dependencies.
  • Xamarin.Mac 2.0

    • No dependencies.
  • Xamarin.TVOS 1.0

    • No dependencies.
  • Xamarin.WatchOS 1.0

    • No dependencies.

NuGet packages (4.0K)

Showing the top 5 NuGet packages that depend on System.ComponentModel.Annotations:

Package Downloads
Microsoft.Extensions.Options The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides a strongly typed way of specifying and accessing settings using dependency injection.

Microsoft.AspNetCore.Mvc.DataAnnotations The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ASP.NET Core MVC metadata and validation system using System.ComponentModel.DataAnnotations. This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea

EntityFramework The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Entity Framework 6 (EF6) is a tried and tested object-relational mapper for .NET with many years of feature development and stabilization.

Microsoft.Azure.WebJobs.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This library simplifies the task of adding background processing to your Microsoft Azure Web Sites. The SDK uses Microsoft Azure Storage, triggering a function in your program when items are added to Queues and Blobs. A dashboard provides rich monitoring and diagnostics for the programs that you write by using the SDK. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=320971

Microsoft.Extensions.Identity.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. ASP.NET Core Identity allows you to add login features to your application and makes it easy to customize data about the logged in user. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/5ae8106f83d4d23cd0a2d2474c1b15e4d5dfc9eb

GitHub repositories (303)

Showing the top 5 popular GitHub repositories that depend on System.ComponentModel.Annotations:

Repository Stars
AvaloniaUI/Avalonia
A cross-platform UI framework for .NET
ppy/osu
rhythm is just a *click* away!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
Version Downloads Last updated
6.0.0-preview.4.21253.7 2,298,789 5/24/2021
5.0.0 161,967,460 11/9/2020
5.0.0-rc.2.20475.5 420,832 10/13/2020
5.0.0-rc.1.20451.14 360,907 9/14/2020
5.0.0-preview.8.20407.11 205,452 8/25/2020
5.0.0-preview.7.20364.11 122,590 7/21/2020
5.0.0-preview.6.20305.6 27,313 6/25/2020
5.0.0-preview.5.20278.1 10,280 6/10/2020
5.0.0-preview.4.20251.6 38,739 5/18/2020
5.0.0-preview.3.20214.6 229,812 4/23/2020
5.0.0-preview.2.20160.6 273,182 4/2/2020
5.0.0-preview.1.20120.5 169,674 3/16/2020
4.7.0 238,778,181 12/3/2019
4.7.0-preview3.19551.4 448,249 11/13/2019
4.7.0-preview2.19523.17 109,925 11/1/2019
4.7.0-preview1.19504.10 701,847 10/15/2019
4.6.0 50,854,399 9/23/2019
4.6.0-rc1.19456.4 88,045 9/16/2019
4.6.0-preview9.19421.4 1,326,372 9/4/2019
4.6.0-preview9.19416.11 704 9/4/2019
4.6.0-preview8.19405.3 463,915 8/13/2019
4.6.0-preview7.19362.9 332,450 7/23/2019
4.6.0-preview6.19303.8 681,005 6/12/2019
4.6.0-preview6.19264.9 765 9/4/2019
4.6.0-preview5.19224.8 399,004 5/6/2019
4.6.0-preview4.19212.13 100,967 4/18/2019
4.6.0-preview3.19128.7 339,099 3/6/2019
4.6.0-preview.19073.11 177,629 1/29/2019
4.6.0-preview.18571.3 178,149 12/3/2018
4.5.0 330,861,080 5/29/2018
4.5.0-rc1 260,400 5/6/2018
4.5.0-preview2-26406-04 281,148 4/10/2018
4.5.0-preview1-26216-02 370,999 2/26/2018
4.4.1 99,557,876 12/12/2017
4.4.0 152,936,177 8/11/2017
4.4.0-preview2-25405-01 87,831 6/27/2017
4.4.0-preview1-25305-02 16,827 5/9/2017
4.3.0 94,924,439 11/15/2016
4.3.0-preview1-24530-04 67,341 10/24/2016
4.1.0 81,978,724 6/27/2016
4.1.0-rc2-24027 2,203,888 5/16/2016
4.0.11-beta-23516 268,098 11/18/2015
4.0.11-beta-23409 34,910 10/15/2015
4.0.11-beta-23225 123,588 9/1/2015
4.0.10 1,685,520 7/29/2015
4.0.10-beta-23109 31,579 7/27/2015
4.0.10-beta-23019 30,717 6/30/2015
4.0.10-beta-22816 32,723 4/24/2015
4.0.10-beta-22605 11,993 2/13/2015
4.0.10-beta-22416 8,431 1/16/2015
4.0.10-beta-22231 42,118 11/11/2014
4.0.0 512,724 7/29/2015
4.0.0-beta-23109 1,838 7/27/2015
4.0.0-beta-23019 2,598 6/30/2015