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.6K)

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 (366)

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 341,916,193 11/9/2020
5.0.0-rc.2.20475.5 466,692 10/13/2020
5.0.0-rc.1.20451.14 401,738 9/14/2020
5.0.0-preview.8.20407.11 227,694 8/25/2020
5.0.0-preview.7.20364.11 143,080 7/21/2020
5.0.0-preview.6.20305.6 32,966 6/25/2020
5.0.0-preview.5.20278.1 12,338 6/10/2020
5.0.0-preview.4.20251.6 46,830 5/18/2020
5.0.0-preview.3.20214.6 254,749 4/23/2020
5.0.0-preview.2.20160.6 303,749 4/2/2020
5.0.0-preview.1.20120.5 189,395 3/16/2020
4.7.0 359,464,742 12/3/2019
4.7.0-preview3.19551.4 508,427 11/13/2019
4.7.0-preview2.19523.17 128,327 11/1/2019
4.7.0-preview1.19504.10 837,219 10/15/2019
4.6.0 82,598,456 9/23/2019
4.6.0-rc1.19456.4 98,267 9/16/2019
4.6.0-preview9.19421.4 1,523,762 9/4/2019
4.6.0-preview9.19416.11 2,192 9/4/2019
4.6.0-preview8.19405.3 628,663 8/13/2019
4.6.0-preview7.19362.9 412,290 7/23/2019
4.6.0-preview6.19303.8 930,170 6/12/2019
4.6.0-preview6.19264.9 2,240 9/4/2019
4.6.0-preview5.19224.8 504,519 5/6/2019
4.6.0-preview4.19212.13 130,119 4/18/2019
4.6.0-preview3.19128.7 414,833 3/6/2019
4.6.0-preview.19073.11 198,691 1/29/2019
4.6.0-preview.18571.3 207,171 12/3/2018
4.5.0 611,964,498 5/29/2018
4.5.0-rc1 399,869 5/6/2018
4.5.0-preview2-26406-04 498,362 4/10/2018
4.5.0-preview1-26216-02 526,013 2/26/2018
4.4.1 140,056,982 12/12/2017
4.4.0 230,589,283 8/11/2017
4.4.0-preview2-25405-01 134,516 6/27/2017
4.4.0-preview1-25305-02 24,247 5/9/2017
4.3.0 175,906,144 11/15/2016
4.3.0-preview1-24530-04 97,041 10/24/2016
4.1.0 111,942,261 6/27/2016
4.1.0-rc2-24027 2,302,472 5/16/2016
4.0.11-beta-23516 275,097 11/18/2015
4.0.11-beta-23409 38,802 10/15/2015
4.0.11-beta-23225 157,882 9/1/2015
4.0.10 1,848,750 7/29/2015
4.0.10-beta-23109 35,420 7/27/2015
4.0.10-beta-23019 34,475 6/30/2015
4.0.10-beta-22816 37,108 4/24/2015
4.0.10-beta-22605 15,937 2/13/2015
4.0.10-beta-22416 12,244 1/16/2015
4.0.10-beta-22231 54,634 11/11/2014
4.0.0 699,390 7/29/2015
4.0.0-beta-23109 5,676 7/27/2015
4.0.0-beta-23019 7,205 6/30/2015