From d0efddd932f6fb94c3e9436ab393fc390c7b2da9 Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Mon, 17 Aug 2020 17:01:27 -0700 Subject: [PATCH] Use Roslyn apis to generate Platform Not Supported Assemblies (#40296) * fixes on the runtime side * address feedback * update arcade version * merge conflicts * update the version --- eng/Version.Details.xml | 8 ++++---- eng/Versions.props | 4 ++-- .../src/System.ComponentModel.Composition.csproj | 4 +--- .../src/System.Net.NameResolution.csproj | 2 +- .../src/System.Security.Cryptography.Algorithms.csproj | 2 +- .../pkg/System.Security.Cryptography.Cng.pkgproj | 1 + .../src/System.Security.Cryptography.Cng.csproj | 10 +--------- .../pkg/System.Security.Cryptography.OpenSsl.pkgproj | 1 + .../src/System.Security.Cryptography.OpenSsl.csproj | 9 ++------- .../System.Windows.Extensions/src/ExcludeApiList.PNSE.txt | 7 ------- .../src/System.Windows.Extensions.csproj | 5 +---- 11 files changed, 15 insertions(+), 38 deletions(-) delete mode 100644 src/libraries/System.Windows.Extensions/src/ExcludeApiList.PNSE.txt diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 80f1bd8..ee62cbe 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -22,13 +22,13 @@ https://github.com/dotnet/arcade ea8f37e8982dc22022b33c5e151081ad04d923a6 - + https://github.com/dotnet/arcade - ea8f37e8982dc22022b33c5e151081ad04d923a6 + d7e47e893c86c3c9f4e8d8129b2d45516a69bc41 - + https://github.com/dotnet/arcade - ea8f37e8982dc22022b33c5e151081ad04d923a6 + d7e47e893c86c3c9f4e8d8129b2d45516a69bc41 https://github.com/dotnet/arcade diff --git a/eng/Versions.props b/eng/Versions.props index 059ee99..c4e792f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -52,8 +52,8 @@ 5.0.0-beta.20407.3 5.0.0-beta.20407.3 5.0.0-beta.20407.3 - 5.0.0-beta.20407.3 - 5.0.0-beta.20407.3 + 5.0.0-beta.20417.5 + 5.0.0-beta.20417.5 5.0.0-beta.20407.3 2.5.1-beta.20407.3 5.0.0-beta.20412.1 diff --git a/src/libraries/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj b/src/libraries/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj index 519abad..98e9003 100644 --- a/src/libraries/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj +++ b/src/libraries/System.ComponentModel.Composition/src/System.ComponentModel.Composition.csproj @@ -9,10 +9,8 @@ SR.PlatformNotSupported_ComponentModel_Composition $(NoWarn);nullable - - - + diff --git a/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj b/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj index 27f4e95..8fff5c1 100644 --- a/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj +++ b/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj @@ -6,7 +6,7 @@ SR.SystemNetNameResolution_PlatformNotSupported - --exclude-api-list ExcludeApiList.PNSE.Browser.txt + ExcludeApiList.PNSE.Browser.txt diff --git a/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj b/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj index cf86581..80fa4fb 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj +++ b/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj @@ -10,7 +10,7 @@ SR.SystemSecurityCryptographyAlgorithms_PlatformNotSupported - --exclude-api-list ExcludeApiList.PNSE.Browser.txt + ExcludeApiList.PNSE.Browser.txt diff --git a/src/libraries/System.Security.Cryptography.Cng/pkg/System.Security.Cryptography.Cng.pkgproj b/src/libraries/System.Security.Cryptography.Cng/pkg/System.Security.Cryptography.Cng.pkgproj index bff5673..66cb2ac 100644 --- a/src/libraries/System.Security.Cryptography.Cng/pkg/System.Security.Cryptography.Cng.pkgproj +++ b/src/libraries/System.Security.Cryptography.Cng/pkg/System.Security.Cryptography.Cng.pkgproj @@ -16,6 +16,7 @@ + - - - diff --git a/src/libraries/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj b/src/libraries/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj index fd148c3..e934cc2 100644 --- a/src/libraries/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj +++ b/src/libraries/System.Security.Cryptography.OpenSsl/pkg/System.Security.Cryptography.OpenSsl.pkgproj @@ -7,6 +7,7 @@ + - 4.1.0.0 + 4.1.0.0 net461 @@ -130,9 +130,4 @@ - - - - - diff --git a/src/libraries/System.Windows.Extensions/src/ExcludeApiList.PNSE.txt b/src/libraries/System.Windows.Extensions/src/ExcludeApiList.PNSE.txt deleted file mode 100644 index 4537903..0000000 --- a/src/libraries/System.Windows.Extensions/src/ExcludeApiList.PNSE.txt +++ /dev/null @@ -1,7 +0,0 @@ -T:System.Drawing.FontConverter -T:System.Drawing.FontConverter.FontNameConverter -T:System.Drawing.FontConverter.FontUnitConverter -T:System.Drawing.IconConverter -T:System.Drawing.ImageConverter -T:System.Drawing.ImageFormatConverter -T:System.Drawing.Printing.MarginsConverter diff --git a/src/libraries/System.Windows.Extensions/src/System.Windows.Extensions.csproj b/src/libraries/System.Windows.Extensions/src/System.Windows.Extensions.csproj index 178344c..68020c1 100644 --- a/src/libraries/System.Windows.Extensions/src/System.Windows.Extensions.csproj +++ b/src/libraries/System.Windows.Extensions/src/System.Windows.Extensions.csproj @@ -6,12 +6,9 @@ SR.PlatformNotSupported_System_Windows_Extensions - --exclude-api-list ExcludeApiList.PNSE.txt - - - +