Skip to content

Add PlatformNotSupportedException for Browser version of System.Net.Sockets - #39346

Merged
marek-safar merged 2 commits into
dotnet:masterfrom
marek-safar:sockets
Jul 15, 2020
Merged

Add PlatformNotSupportedException for Browser version of System.Net.Sockets#39346
marek-safar merged 2 commits into
dotnet:masterfrom
marek-safar:sockets

Conversation

@marek-safar

Copy link
Copy Markdown
Contributor

@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@steveisoksteveisok mentioned this pull request Jul 15, 2020
99 tasks
@MaximLipnin

MaximLipnin commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

This will require:

  1. removing <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Sockets\tests\FunctionalTests\System.Net.Sockets.Tests.csproj" /> from tests.proj file;
  2. adding [assembly: SkipOnMono("System.Net.Sockets is not supported on Browser", TestPlatforms.Browser)] to System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs
  3. perhaps, adding <IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI> to System.Net.Sockets.Tests.csproj

@marek-safar
marek-safar merged commit c3a817e into dotnet:masterJul 15, 2020
@marek-safar
marek-safar deleted the sockets branch July 15, 2020 14:49
akoeplinger pushed a commit that referenced this pull request Jul 29, 2020
…ace (#40004)
There is no repro for #38807 at the moment so the related tests have been enabled.
Two tests have been disabled due to PNSE (see #39346).
Fixes: #38807 The test run result: `Tests run: 177, Errors: 0, Failures: 0, Skipped: 0.`
Jacksondr5 pushed a commit to Jacksondr5/runtime that referenced this pull request Aug 10, 2020
…ace (dotnet#40004)
There is no repro for dotnet#38807 at the moment so the related tests have been enabled.
Two tests have been disabled due to PNSE (see dotnet#39346).
Fixes: dotnet#38807 The test run result: `Tests run: 177, Errors: 0, Failures: 0, Skipped: 0.`
@karelzkarelz added this to the 5.0.0 milestone Aug 18, 2020
@ghostghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@marek-safar@MaximLipnin@akoeplinger@karelz@Dotnet-GitSync-Bot