Skip to content

Commit d97afaf

Browse files
Cherry-pick relevant parts of #76114
1 parent b21fe2d commit d97afaf

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<EnablePreviewFeatures>true</EnablePreviewFeatures>
1010
<!-- the res/xml/network_security_config.xml file comes from the System.Net.TestData package -->
1111
<IncludeNetworkSecurityConfig Condition="'$(TargetOS)' == 'Android'">true</IncludeNetworkSecurityConfig>
12+
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
1213
</PropertyGroup>
1314

1415
<!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->

src/libraries/System.Net.NameResolution/tests/FunctionalTests/System.Net.NameResolution.Functional.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser</TargetFrameworks>
44
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
55
<IgnoreForCI Condition="'$(TargetOS)' == 'Browser'">true</IgnoreForCI>
6+
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
67
</PropertyGroup>
78
<ItemGroup>
89
<Compile Include="AssemblyInfo.cs" />

src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<!-- the res/xml/network_security_config.xml file comes from the System.Net.TestData package -->
99
<IncludeNetworkSecurityConfig Condition="'$(TargetOS)' == 'Android'">true</IncludeNetworkSecurityConfig>
1010
<EnablePreviewFeatures>true</EnablePreviewFeatures>
11+
<EventSourceSupport Condition="'$(TestNativeAot)' == 'true'">true</EventSourceSupport>
1112
</PropertyGroup>
1213
<ItemGroup>
1314
<Compile Include="AssemblyInfo.cs" />

0 commit comments

Comments
 (0)