-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm][testing] hosting webSocket echo server in xharness process #52546
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsCompanion change to dotnet/xharness#593, not interesting yet.
|
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsCompanion change to dotnet/xharness#593, not interesting yet.
|
c710081
to
8a0eadd
Compare
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be $(NetCoreAppToolCurrent)
@@ -51,4 +41,10 @@ | |||
<ItemGroup> | |||
<PackageReference Include="System.Net.TestData" Version="$(SystemNetTestDataVersion)" /> | |||
</ItemGroup> | |||
<ItemGroup Condition="'$(TargetOS)' == 'Browser'"> | |||
<!-- TODO | |||
<ProjectReference Include="$(CommonTestPath)System/Net/Prerequisites/MonoNetTestServer/MonoNetTestServer.csproj" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I think you want
<ProjectReference ... ReferenceOutputAssembly="false"/>
because you just want to establish a build-order, not to actually link it in to the tests - You actually should reference a .proj that uses the
MSBuild
task (or maybe an Exec. not sure) to build the server for the build machine RID, not for browser-wasm.
Closed in favor of #52923 |
<Scenario>WasmTestOnBrowser</Scenario>
to System.Net.WebSockets.Client.Tests.csprojCompanion change to dotnet/xharness#593, not interesting yet.