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 390,956,803 11/9/2020
5.0.0-rc.2.20475.5 474,682 10/13/2020
5.0.0-rc.1.20451.14 409,664 9/14/2020
5.0.0-preview.8.20407.11 232,330 8/25/2020
5.0.0-preview.7.20364.11 146,240 7/21/2020
5.0.0-preview.6.20305.6 35,187 6/25/2020
5.0.0-preview.5.20278.1 14,155 6/10/2020
5.0.0-preview.4.20251.6 49,644 5/18/2020
5.0.0-preview.3.20214.6 258,703 4/23/2020
5.0.0-preview.2.20160.6 307,958 4/2/2020
5.0.0-preview.1.20120.5 198,515 3/16/2020
4.7.0 379,842,100 12/3/2019
4.7.0-preview3.19551.4 520,724 11/13/2019
4.7.0-preview2.19523.17 133,299 11/1/2019
4.7.0-preview1.19504.10 861,625 10/15/2019
4.6.0 89,934,249 9/23/2019
4.6.0-rc1.19456.4 101,585 9/16/2019
4.6.0-preview9.19421.4 1,553,432 9/4/2019
4.6.0-preview9.19416.11 3,987 9/4/2019
4.6.0-preview8.19405.3 654,095 8/13/2019
4.6.0-preview7.19362.9 435,948 7/23/2019
4.6.0-preview6.19303.8 972,886 6/12/2019
4.6.0-preview6.19264.9 4,013 9/4/2019
4.6.0-preview5.19224.8 522,770 5/6/2019
4.6.0-preview4.19212.13 135,219 4/18/2019
4.6.0-preview3.19128.7 426,685 3/6/2019
4.6.0-preview.19073.11 202,982 1/29/2019
4.6.0-preview.18571.3 216,731 12/3/2018
4.5.0 670,395,890 5/29/2018
4.5.0-rc1 414,310 5/6/2018
4.5.0-preview2-26406-04 518,771 4/10/2018
4.5.0-preview1-26216-02 539,386 2/26/2018
4.4.1 146,833,786 12/12/2017
4.4.0 246,779,260 8/11/2017
4.4.0-preview2-25405-01 138,596 6/27/2017
4.4.0-preview1-25305-02 26,668 5/9/2017
4.3.0 194,381,097 11/15/2016
4.3.0-preview1-24530-04 99,657 10/24/2016
4.1.0 117,213,104 6/27/2016
4.1.0-rc2-24027 2,316,144 5/16/2016
4.0.11-beta-23516 277,030 11/18/2015
4.0.11-beta-23409 40,621 10/15/2015
4.0.11-beta-23225 167,353 9/1/2015
4.0.10 1,878,569 7/29/2015
4.0.10-beta-23109 37,244 7/27/2015
4.0.10-beta-23019 36,290 6/30/2015
4.0.10-beta-22816 38,928 4/24/2015
4.0.10-beta-22605 17,723 2/13/2015
4.0.10-beta-22416 14,039 1/16/2015
4.0.10-beta-22231 58,296 11/11/2014
4.0.0 741,833 7/29/2015
4.0.0-beta-23109 7,488 7/27/2015
4.0.0-beta-23019 9,621 6/30/2015