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,094,835 11/9/2020
5.0.0-rc.2.20475.5 474,481 10/13/2020
5.0.0-rc.1.20451.14 409,396 9/14/2020
5.0.0-preview.8.20407.11 232,229 8/25/2020
5.0.0-preview.7.20364.11 146,160 7/21/2020
5.0.0-preview.6.20305.6 35,116 6/25/2020
5.0.0-preview.5.20278.1 14,099 6/10/2020
5.0.0-preview.4.20251.6 49,577 5/18/2020
5.0.0-preview.3.20214.6 258,583 4/23/2020
5.0.0-preview.2.20160.6 307,876 4/2/2020
5.0.0-preview.1.20120.5 198,410 3/16/2020
4.7.0 379,514,914 12/3/2019
4.7.0-preview3.19551.4 520,414 11/13/2019
4.7.0-preview2.19523.17 133,160 11/1/2019
4.7.0-preview1.19504.10 861,095 10/15/2019
4.6.0 89,801,973 9/23/2019
4.6.0-rc1.19456.4 101,465 9/16/2019
4.6.0-preview9.19421.4 1,553,083 9/4/2019
4.6.0-preview9.19416.11 3,928 9/4/2019
4.6.0-preview8.19405.3 653,900 8/13/2019
4.6.0-preview7.19362.9 435,717 7/23/2019
4.6.0-preview6.19303.8 972,356 6/12/2019
4.6.0-preview6.19264.9 3,957 9/4/2019
4.6.0-preview5.19224.8 522,579 5/6/2019
4.6.0-preview4.19212.13 135,139 4/18/2019
4.6.0-preview3.19128.7 426,459 3/6/2019
4.6.0-preview.19073.11 202,902 1/29/2019
4.6.0-preview.18571.3 216,627 12/3/2018
4.5.0 669,392,698 5/29/2018
4.5.0-rc1 414,204 5/6/2018
4.5.0-preview2-26406-04 518,666 4/10/2018
4.5.0-preview1-26216-02 539,302 2/26/2018
4.4.1 146,709,087 12/12/2017
4.4.0 246,504,902 8/11/2017
4.4.0-preview2-25405-01 138,523 6/27/2017
4.4.0-preview1-25305-02 26,597 5/9/2017
4.3.0 194,074,253 11/15/2016
4.3.0-preview1-24530-04 99,583 10/24/2016
4.1.0 117,110,214 6/27/2016
4.1.0-rc2-24027 2,315,941 5/16/2016
4.0.11-beta-23516 276,972 11/18/2015
4.0.11-beta-23409 40,563 10/15/2015
4.0.11-beta-23225 167,123 9/1/2015
4.0.10 1,878,140 7/29/2015
4.0.10-beta-23109 37,183 7/27/2015
4.0.10-beta-23019 36,231 6/30/2015
4.0.10-beta-22816 38,868 4/24/2015
4.0.10-beta-22605 17,662 2/13/2015
4.0.10-beta-22416 13,974 1/16/2015
4.0.10-beta-22231 58,231 11/11/2014
4.0.0 740,878 7/29/2015
4.0.0-beta-23109 7,430 7/27/2015
4.0.0-beta-23019 9,560 6/30/2015