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, 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

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
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.9K)

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

GitHub repositories (307)

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!
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
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 1,495,943 5/24/2021
5.0.0 130,049,984 11/9/2020
5.0.0-rc.2.20475.5 399,781 10/13/2020
5.0.0-rc.1.20451.14 349,322 9/14/2020
5.0.0-preview.8.20407.11 198,279 8/25/2020
5.0.0-preview.7.20364.11 116,542 7/21/2020
5.0.0-preview.6.20305.6 25,821 6/25/2020
5.0.0-preview.5.20278.1 9,965 6/10/2020
5.0.0-preview.4.20251.6 37,102 5/18/2020
5.0.0-preview.3.20214.6 222,136 4/23/2020
5.0.0-preview.2.20160.6 256,542 4/2/2020
5.0.0-preview.1.20120.5 165,568 3/16/2020
4.7.0 211,568,546 12/3/2019
4.7.0-preview3.19551.4 429,314 11/13/2019
4.7.0-preview2.19523.17 107,118 11/1/2019
4.7.0-preview1.19504.10 666,824 10/15/2019
4.6.0 45,394,955 9/23/2019
4.6.0-rc1.19456.4 85,823 9/16/2019
4.6.0-preview9.19421.4 1,283,459 9/4/2019
4.6.0-preview9.19416.11 529 9/4/2019
4.6.0-preview8.19405.3 432,576 8/13/2019
4.6.0-preview7.19362.9 319,327 7/23/2019
4.6.0-preview6.19303.8 639,168 6/12/2019
4.6.0-preview6.19264.9 593 9/4/2019
4.6.0-preview5.19224.8 377,392 5/6/2019
4.6.0-preview4.19212.13 97,356 4/18/2019
4.6.0-preview3.19128.7 329,593 3/6/2019
4.6.0-preview.19073.11 167,468 1/29/2019
4.6.0-preview.18571.3 174,198 12/3/2018
4.5.0 277,004,050 5/29/2018
4.5.0-rc1 257,925 5/6/2018
4.5.0-preview2-26406-04 276,789 4/10/2018
4.5.0-preview1-26216-02 365,362 2/26/2018
4.4.1 89,844,612 12/12/2017
4.4.0 138,039,497 8/11/2017
4.4.0-preview2-25405-01 87,124 6/27/2017
4.4.0-preview1-25305-02 15,992 5/9/2017
4.3.0 82,282,467 11/15/2016
4.3.0-preview1-24530-04 66,781 10/24/2016
4.1.0 77,449,177 6/27/2016
4.1.0-rc2-24027 2,194,884 5/16/2016
4.0.11-beta-23516 267,728 11/18/2015
4.0.11-beta-23409 34,721 10/15/2015
4.0.11-beta-23225 118,952 9/1/2015
4.0.10 1,613,019 7/29/2015
4.0.10-beta-23109 31,388 7/27/2015
4.0.10-beta-23019 30,510 6/30/2015
4.0.10-beta-22816 32,381 4/24/2015
4.0.10-beta-22605 11,790 2/13/2015
4.0.10-beta-22416 8,225 1/16/2015
4.0.10-beta-22231 40,225 11/11/2014
4.0.0 491,376 7/29/2015
4.0.0-beta-23109 1,650 7/27/2015
4.0.0-beta-23019 2,380 6/30/2015