Skip to content

Commit 478cfe2

Browse files
authored
Add System.Net.ServerSentEvents to runtime shared framework (#112930)
1 parent 60bb7cb commit 478cfe2

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/libraries/NetCoreAppLibrary.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
System.Net.Quic;
9797
System.Net.Requests;
9898
System.Net.Security;
99+
System.Net.ServerSentEvents;
99100
System.Net.ServicePoint;
100101
System.Net.Sockets;
101102
System.Net.WebClient;

src/libraries/System.Net.ServerSentEvents/ref/System.Net.ServerSentEvents.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,11 @@
1717
<ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Bcl.AsyncInterfaces\src\Microsoft.Bcl.AsyncInterfaces.csproj" />
1818
</ItemGroup>
1919

20+
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
21+
<ProjectReference Include="$(LibrariesProjectRoot)System.Memory\ref\System.Memory.csproj" />
22+
<ProjectReference Include="$(LibrariesProjectRoot)System.Threading\ref\System.Threading.csproj" />
23+
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\ref\System.Runtime.csproj" />
24+
<ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\ref\System.Runtime.InteropServices.csproj" />
25+
</ItemGroup>
26+
2027
</Project>

src/libraries/System.Net.ServerSentEvents/src/System.Net.ServerSentEvents.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,11 @@ System.Net.ServerSentEvents.SseParser</PackageDescription>
3434
<PackageReference Include="System.Threading.Tasks.Extensions" Version="$(SystemThreadingTasksExtensionsVersion)" />
3535
</ItemGroup>
3636

37+
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">
38+
<Reference Include="System.Memory" />
39+
<Reference Include="System.Threading" />
40+
<Reference Include="System.Runtime" />
41+
<Reference Include="System.Runtime.InteropServices" />
42+
</ItemGroup>
43+
3744
</Project>

0 commit comments

Comments
 (0)