System.ComponentModel.Annotations 4.6.0

Prefix Reserved
There is a newer 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 4.6.0                
NuGet\Install-Package System.ComponentModel.Annotations -Version 4.6.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="4.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.ComponentModel.Annotations --version 4.6.0                
#r "nuget: System.ComponentModel.Annotations, 4.6.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=4.6.0

// Install System.ComponentModel.Annotations as a Cake Tool
#tool nuget:?package=System.ComponentModel.Annotations&version=4.6.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 (372)

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 374,883,537 11/9/2020
5.0.0-rc.2.20475.5 472,499 10/13/2020
5.0.0-rc.1.20451.14 406,833 9/14/2020
5.0.0-preview.8.20407.11 230,995 8/25/2020
5.0.0-preview.7.20364.11 145,440 7/21/2020
5.0.0-preview.6.20305.6 34,566 6/25/2020
5.0.0-preview.5.20278.1 13,652 6/10/2020
5.0.0-preview.4.20251.6 48,843 5/18/2020
5.0.0-preview.3.20214.6 257,610 4/23/2020
5.0.0-preview.2.20160.6 306,704 4/2/2020
5.0.0-preview.1.20120.5 195,343 3/16/2020
4.7.0 373,735,140 12/3/2019
4.7.0-preview3.19551.4 517,523 11/13/2019
4.7.0-preview2.19523.17 131,441 11/1/2019
4.7.0-preview1.19504.10 853,850 10/15/2019
4.6.0 87,492,650 9/23/2019
4.6.0-rc1.19456.4 100,611 9/16/2019
4.6.0-preview9.19421.4 1,545,304 9/4/2019
4.6.0-preview9.19416.11 3,487 9/4/2019
4.6.0-preview8.19405.3 651,319 8/13/2019
4.6.0-preview7.19362.9 428,179 7/23/2019
4.6.0-preview6.19303.8 965,381 6/12/2019
4.6.0-preview6.19264.9 3,519 9/4/2019
4.6.0-preview5.19224.8 519,853 5/6/2019
4.6.0-preview4.19212.13 134,374 4/18/2019
4.6.0-preview3.19128.7 424,657 3/6/2019
4.6.0-preview.19073.11 202,167 1/29/2019
4.6.0-preview.18571.3 214,908 12/3/2018
4.5.0 651,589,703 5/29/2018
4.5.0-rc1 412,836 5/6/2018
4.5.0-preview2-26406-04 517,667 4/10/2018
4.5.0-preview1-26216-02 538,281 2/26/2018
4.4.1 144,680,469 12/12/2017
4.4.0 241,469,906 8/11/2017
4.4.0-preview2-25405-01 137,890 6/27/2017
4.4.0-preview1-25305-02 26,037 5/9/2017
4.3.0 188,168,776 11/15/2016
4.3.0-preview1-24530-04 99,104 10/24/2016
4.1.0 115,460,571 6/27/2016
4.1.0-rc2-24027 2,312,930 5/16/2016
4.0.11-beta-23516 276,495 11/18/2015
4.0.11-beta-23409 40,118 10/15/2015
4.0.11-beta-23225 164,680 9/1/2015
4.0.10 1,872,475 7/29/2015
4.0.10-beta-23109 36,736 7/27/2015
4.0.10-beta-23019 35,785 6/30/2015
4.0.10-beta-22816 38,424 4/24/2015
4.0.10-beta-22605 17,221 2/13/2015
4.0.10-beta-22416 13,525 1/16/2015
4.0.10-beta-22231 57,171 11/11/2014
4.0.0 727,866 7/29/2015
4.0.0-beta-23109 6,985 7/27/2015
4.0.0-beta-23019 8,936 6/30/2015