From c2556cc0d7b1dca9bbd63a11df346e775512b1dd Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Wed, 19 Aug 2020 16:11:34 -0700 Subject: [PATCH] Fix packaging for the browser (#40814) (#41001) * Fix packaging for the browser * fix wasm leg * remove unused resource --- .../System.Drawing.Common/src/System.Drawing.Common.csproj | 6 +++--- .../src/System.Security.Cryptography.OpenSsl.csproj | 2 +- .../src/Resources/Strings.resx | 5 +---- .../src/System.Security.Cryptography.Pkcs.csproj | 1 - 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj b/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj index 516a194705c08d..88201ea00bd48b 100644 --- a/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj +++ b/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj @@ -5,14 +5,14 @@ CS0618 $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS;FEATURE_SYSTEM_EVENTS true - $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser;netcoreapp3.0-Windows_NT;netcoreapp3.0-Unix + $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);netcoreapp3.0-Windows_NT;netcoreapp3.0-Unix;netcoreapp3.0 true enable - SR.SystemDrawingCommon_PlatformNotSupported + SR.SystemDrawingCommon_PlatformNotSupported - + diff --git a/src/libraries/System.Security.Cryptography.OpenSsl/src/System.Security.Cryptography.OpenSsl.csproj b/src/libraries/System.Security.Cryptography.OpenSsl/src/System.Security.Cryptography.OpenSsl.csproj index 5c402ff9fc74ad..90ccdc04e8079d 100644 --- a/src/libraries/System.Security.Cryptography.OpenSsl/src/System.Security.Cryptography.OpenSsl.csproj +++ b/src/libraries/System.Security.Cryptography.OpenSsl/src/System.Security.Cryptography.OpenSsl.csproj @@ -12,7 +12,7 @@ the facades when the package is restored. --> net461 - + SR.PlatformNotSupported_CryptographyOpenSSL diff --git a/src/libraries/System.Security.Cryptography.Pkcs/src/Resources/Strings.resx b/src/libraries/System.Security.Cryptography.Pkcs/src/Resources/Strings.resx index e499b6b1e1c807..6fae1dbed63316 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/src/Resources/Strings.resx +++ b/src/libraries/System.Security.Cryptography.Pkcs/src/Resources/Strings.resx @@ -295,7 +295,4 @@ Certificate already present in the collection. - - System.Security.Cryptography.Pkcs is not supported on this platform. - - \ No newline at end of file + diff --git a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj index 6ecdaa9e86569a..3fd055e60627ce 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj +++ b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj @@ -14,7 +14,6 @@ true 4.0.4.0 - SR.SystemSecurityCryptographyPkcs_PlatformNotSupported