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.

Install-Package System.ComponentModel.Annotations -Version 5.0.0
dotnet add package System.ComponentModel.Annotations --version 5.0.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.ComponentModel.Annotations, 5.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
.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
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 (3.5K)

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/e77cb01b5529c137130757859f09f892dbdd2436

GitHub repositories (264)

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

Repository Stars
AvaloniaUI/Avalonia
A cross-platform UI framework for .NET
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
ppy/osu
rhythm is just a *click* away!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
FluentValidation/FluentValidation
A popular .NET validation library for building strongly-typed validation rules.
Version Downloads Last updated
6.0.0-preview.4.21253.7 477,980 5/24/2021
5.0.0 81,827,331 11/9/2020
5.0.0-rc.2.20475.5 345,284 10/13/2020
5.0.0-rc.1.20451.14 324,046 9/14/2020
5.0.0-preview.8.20407.11 173,564 8/25/2020
5.0.0-preview.7.20364.11 107,224 7/21/2020
5.0.0-preview.6.20305.6 22,352 6/25/2020
5.0.0-preview.5.20278.1 9,516 6/10/2020
5.0.0-preview.4.20251.6 33,548 5/18/2020
5.0.0-preview.3.20214.6 205,967 4/23/2020
5.0.0-preview.2.20160.6 224,378 4/2/2020
5.0.0-preview.1.20120.5 158,466 3/16/2020
4.7.0 163,335,805 12/3/2019
4.7.0-preview3.19551.4 368,429 11/13/2019
4.7.0-preview2.19523.17 101,169 11/1/2019
4.7.0-preview1.19504.10 595,359 10/15/2019
4.6.0 36,285,524 9/23/2019
4.6.0-rc1.19456.4 80,252 9/16/2019
4.6.0-preview9.19421.4 1,156,092 9/4/2019
4.6.0-preview9.19416.11 472 9/4/2019
4.6.0-preview8.19405.3 360,612 8/13/2019
4.6.0-preview7.19362.9 279,673 7/23/2019
4.6.0-preview6.19303.8 547,213 6/12/2019
4.6.0-preview6.19264.9 535 9/4/2019
4.6.0-preview5.19224.8 332,921 5/6/2019
4.6.0-preview4.19212.13 87,720 4/18/2019
4.6.0-preview3.19128.7 314,534 3/6/2019
4.6.0-preview.19073.11 148,977 1/29/2019
4.6.0-preview.18571.3 166,712 12/3/2018
4.5.0 194,772,227 5/29/2018
4.5.0-rc1 249,854 5/6/2018
4.5.0-preview2-26406-04 268,018 4/10/2018
4.5.0-preview1-26216-02 352,028 2/26/2018
4.4.1 74,481,319 12/12/2017
4.4.0 114,282,960 8/11/2017
4.4.0-preview2-25405-01 85,417 6/27/2017
4.4.0-preview1-25305-02 14,685 5/9/2017
4.3.0 63,603,128 11/15/2016
4.3.0-preview1-24530-04 65,715 10/24/2016
4.1.0 70,209,513 6/27/2016
4.1.0-rc2-24027 2,172,964 5/16/2016
4.0.11-beta-23516 267,284 11/18/2015
4.0.11-beta-23409 34,612 10/15/2015
4.0.11-beta-23225 110,666 9/1/2015
4.0.10 1,490,435 7/29/2015
4.0.10-beta-23109 31,286 7/27/2015
4.0.10-beta-23019 30,385 6/30/2015
4.0.10-beta-22816 32,006 4/24/2015
4.0.10-beta-22605 11,684 2/13/2015
4.0.10-beta-22416 8,115 1/16/2015
4.0.10-beta-22231 38,548 11/11/2014
4.0.0 451,020 7/29/2015
4.0.0-beta-23109 1,558 7/27/2015
4.0.0-beta-23019 2,255 6/30/2015