System.ComponentModel.Annotations 5.0.0

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

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.
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
#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
.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.8K)

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

GitHub repositories (297)

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 880,242 5/24/2021
5.0.0 107,249,883 11/9/2020
5.0.0-rc.2.20475.5 376,340 10/13/2020
5.0.0-rc.1.20451.14 340,214 9/14/2020
5.0.0-preview.8.20407.11 191,265 8/25/2020
5.0.0-preview.7.20364.11 111,837 7/21/2020
5.0.0-preview.6.20305.6 24,749 6/25/2020
5.0.0-preview.5.20278.1 9,836 6/10/2020
5.0.0-preview.4.20251.6 35,676 5/18/2020
5.0.0-preview.3.20214.6 216,253 4/23/2020
5.0.0-preview.2.20160.6 244,183 4/2/2020
5.0.0-preview.1.20120.5 163,411 3/16/2020
4.7.0 188,890,899 12/3/2019
4.7.0-preview3.19551.4 387,022 11/13/2019
4.7.0-preview2.19523.17 105,103 11/1/2019
4.7.0-preview1.19504.10 644,684 10/15/2019
4.6.0 41,293,668 9/23/2019
4.6.0-rc1.19456.4 84,140 9/16/2019
4.6.0-preview9.19421.4 1,234,883 9/4/2019
4.6.0-preview9.19416.11 516 9/4/2019
4.6.0-preview8.19405.3 383,146 8/13/2019
4.6.0-preview7.19362.9 297,777 7/23/2019
4.6.0-preview6.19303.8 580,909 6/12/2019
4.6.0-preview6.19264.9 580 9/4/2019
4.6.0-preview5.19224.8 345,882 5/6/2019
4.6.0-preview4.19212.13 92,004 4/18/2019
4.6.0-preview3.19128.7 321,610 3/6/2019
4.6.0-preview.19073.11 155,310 1/29/2019
4.6.0-preview.18571.3 171,014 12/3/2018
4.5.0 237,655,344 5/29/2018
4.5.0-rc1 252,420 5/6/2018
4.5.0-preview2-26406-04 272,507 4/10/2018
4.5.0-preview1-26216-02 357,977 2/26/2018
4.4.1 83,277,968 12/12/2017
4.4.0 127,894,850 8/11/2017
4.4.0-preview2-25405-01 86,116 6/27/2017
4.4.0-preview1-25305-02 15,529 5/9/2017
4.3.0 73,957,373 11/15/2016
4.3.0-preview1-24530-04 66,325 10/24/2016
4.1.0 74,320,558 6/27/2016
4.1.0-rc2-24027 2,182,586 5/16/2016
4.0.11-beta-23516 267,590 11/18/2015
4.0.11-beta-23409 34,686 10/15/2015
4.0.11-beta-23225 115,334 9/1/2015
4.0.10 1,550,829 7/29/2015
4.0.10-beta-23109 31,362 7/27/2015
4.0.10-beta-23019 30,477 6/30/2015
4.0.10-beta-22816 32,288 4/24/2015
4.0.10-beta-22605 11,769 2/13/2015
4.0.10-beta-22416 8,204 1/16/2015
4.0.10-beta-22231 39,575 11/11/2014
4.0.0 475,758 7/29/2015
4.0.0-beta-23109 1,630 7/27/2015
4.0.0-beta-23019 2,350 6/30/2015