diff --git a/src/libraries/System.Net.Mail/src/Resources/Strings.resx b/src/libraries/System.Net.Mail/src/Resources/Strings.resx index a72e327927cce..dd4d31fb2a9cb 100644 --- a/src/libraries/System.Net.Mail/src/Resources/Strings.resx +++ b/src/libraries/System.Net.Mail/src/Resources/Strings.resx @@ -334,4 +334,7 @@ IIS delivery is not supported. + + System.Net.Mail is not supported on this platform. + diff --git a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj index 9567cbde45048..fb158da2c4e1a 100644 --- a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj +++ b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj @@ -1,10 +1,11 @@ true - $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix + $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser enable + SR.SystemNetMailNotSupported - + @@ -119,7 +120,7 @@ Link="Common\System\HexConverter.cs" /> - + annotations + diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index f5b47857a2c20..d481b5d4e0d6f 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -24,7 +24,6 @@ - @@ -74,7 +73,6 @@ -