From: Viktor Hofer Date: Tue, 27 Apr 2021 17:48:32 +0000 (+0200) Subject: Dead end System.ComponentModel.Annotations package (#51891) X-Git-Tag: submit/tizen/20210909.063632~1754 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3de9cdaaf5c8e49b0c22846fad3f4d71f2984b49;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Dead end System.ComponentModel.Annotations package (#51891) Nearly all configurations in the System.ComponentModel.Annotations package weren't built live anymore and just redistributed from older packages. Except for the netstandard2.0 configuration, the package didn't receive any changes. As the library is exposed as part of the shared framework, a reference to the package on .NETCoreApp isn't necessary and will be ignored by the SDK. Based on these reasons, dead-ending the package to remove the burden of maintaining the harvesting of old configurations. Contributes to https://github.com/dotnet/runtime/issues/47530 --- diff --git a/eng/Versions.props b/eng/Versions.props index 741eb08..e823b62 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -81,7 +81,7 @@ 4.5.1 4.3.0 4.3.0 - 4.7.0 + 5.0.0 4.8.1 4.3.0 4.3.0 diff --git a/src/libraries/Microsoft.Extensions.Options.DataAnnotations/src/Microsoft.Extensions.Options.DataAnnotations.csproj b/src/libraries/Microsoft.Extensions.Options.DataAnnotations/src/Microsoft.Extensions.Options.DataAnnotations.csproj index bcf5ce5..56e09a3 100644 --- a/src/libraries/Microsoft.Extensions.Options.DataAnnotations/src/Microsoft.Extensions.Options.DataAnnotations.csproj +++ b/src/libraries/Microsoft.Extensions.Options.DataAnnotations/src/Microsoft.Extensions.Options.DataAnnotations.csproj @@ -10,14 +10,10 @@ - + - - - - diff --git a/src/libraries/System.ComponentModel.Annotations/Directory.Build.props b/src/libraries/System.ComponentModel.Annotations/Directory.Build.props index 4c4a6c6..63f02a0 100644 --- a/src/libraries/System.ComponentModel.Annotations/Directory.Build.props +++ b/src/libraries/System.ComponentModel.Annotations/Directory.Build.props @@ -2,18 +2,5 @@ Microsoft - 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 \ No newline at end of file diff --git a/src/libraries/System.ComponentModel.Annotations/pkg/System.ComponentModel.Annotations.pkgproj b/src/libraries/System.ComponentModel.Annotations/pkg/System.ComponentModel.Annotations.pkgproj deleted file mode 100644 index dd046a9..0000000 --- a/src/libraries/System.ComponentModel.Annotations/pkg/System.ComponentModel.Annotations.pkgproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - - netcoreapp3.0;$(AllXamarinFrameworks) - - - - - - - - - - - System.ComponentModel.DataAnnotations - - - - - - .NETStandard,Version=v1.1;.NETStandard,Version=v1.2;.NETStandard,Version=v1.3 - - - .NETCoreApp;UAP - - - - \ No newline at end of file diff --git a/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj b/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj index 0f88fe4..2267869 100644 --- a/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj +++ b/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj @@ -1,12 +1,14 @@ - netstandard2.1 + $(NetCoreAppCurrent) enable - - - - \ No newline at end of file + + + + + + diff --git a/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj b/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj index bc9a413..9c9dfeb 100644 --- a/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj +++ b/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj @@ -1,7 +1,6 @@ - $(NetCoreAppCurrent);netstandard2.1 - true + $(NetCoreAppCurrent) enable