System.ComponentModel.Annotations 5.0.0

Prefix Reserved

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 is compatible.  netstandard1.4 is compatible.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid10 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed.  monotouch10 is compatible. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform netcore50 is compatible.  uap was computed.  uap10.0 was computed. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed.  win8 is compatible. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed.  xamarinmac20 is compatible. 
Xamarin.TVOS xamarintvos was computed.  xamarintvos10 is compatible. 
Xamarin.WatchOS xamarinwatchos was computed.  xamarinwatchos10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
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.7K)

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

Package Downloads
Microsoft.Extensions.Options

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

Humanizer.Core

Humanizer core package that contains the library and the neutral language (English) resources

Microsoft.AspNetCore.Mvc.DataAnnotations

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

Microsoft.Azure.WebJobs.Core

This package provides the core Types and Attribute definitions for the WebJobs SDK. For more information, please visit https://go.microsoft.com/fwlink/?linkid=2279708.

EntityFramework

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

GitHub repositories (370)

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

Repository Stars
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
ppy/osu
rhythm is just a *click* away!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
Version Downloads Last updated
5.0.0 389,254,050 11/9/2020
5.0.0-rc.2.20475.5 474,331 10/13/2020
5.0.0-rc.1.20451.14 409,290 9/14/2020
5.0.0-preview.8.20407.11 232,164 8/25/2020
5.0.0-preview.7.20364.11 146,119 7/21/2020
5.0.0-preview.6.20305.6 35,085 6/25/2020
5.0.0-preview.5.20278.1 14,075 6/10/2020
5.0.0-preview.4.20251.6 49,530 5/18/2020
5.0.0-preview.3.20214.6 258,535 4/23/2020
5.0.0-preview.2.20160.6 307,824 4/2/2020
5.0.0-preview.1.20120.5 198,223 3/16/2020
4.7.0 379,195,244 12/3/2019
4.7.0-preview3.19551.4 520,265 11/13/2019
4.7.0-preview2.19523.17 133,091 11/1/2019
4.7.0-preview1.19504.10 860,720 10/15/2019
4.6.0 89,664,370 9/23/2019
4.6.0-rc1.19456.4 101,421 9/16/2019
4.6.0-preview9.19421.4 1,552,600 9/4/2019
4.6.0-preview9.19416.11 3,903 9/4/2019
4.6.0-preview8.19405.3 653,798 8/13/2019
4.6.0-preview7.19362.9 435,195 7/23/2019
4.6.0-preview6.19303.8 971,966 6/12/2019
4.6.0-preview6.19264.9 3,931 9/4/2019
4.6.0-preview5.19224.8 522,484 5/6/2019
4.6.0-preview4.19212.13 135,104 4/18/2019
4.6.0-preview3.19128.7 426,347 3/6/2019
4.6.0-preview.19073.11 202,866 1/29/2019
4.6.0-preview.18571.3 216,553 12/3/2018
4.5.0 668,395,247 5/29/2018
4.5.0-rc1 414,135 5/6/2018
4.5.0-preview2-26406-04 518,609 4/10/2018
4.5.0-preview1-26216-02 539,261 2/26/2018
4.4.1 146,586,438 12/12/2017
4.4.0 246,217,326 8/11/2017
4.4.0-preview2-25405-01 138,494 6/27/2017
4.4.0-preview1-25305-02 26,567 5/9/2017
4.3.0 193,749,411 11/15/2016
4.3.0-preview1-24530-04 99,546 10/24/2016
4.1.0 117,023,881 6/27/2016
4.1.0-rc2-24027 2,315,790 5/16/2016
4.0.11-beta-23516 276,946 11/18/2015
4.0.11-beta-23409 40,538 10/15/2015
4.0.11-beta-23225 166,947 9/1/2015
4.0.10 1,877,782 7/29/2015
4.0.10-beta-23109 37,156 7/27/2015
4.0.10-beta-23019 36,206 6/30/2015
4.0.10-beta-22816 38,843 4/24/2015
4.0.10-beta-22605 17,637 2/13/2015
4.0.10-beta-22416 13,949 1/16/2015
4.0.10-beta-22231 58,201 11/11/2014
4.0.0 740,220 7/29/2015
4.0.0-beta-23109 7,404 7/27/2015
4.0.0-beta-23019 9,530 6/30/2015