Skip to content

Commit 0a76d1e

Browse files
authored
Remove project dependency in S.Configuration.Tests.csproj (#74016)
Reference is not needed; was causing build issues for some platforms. Fixes #73792
1 parent 1f273fd commit 0a76d1e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/libraries/System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
44
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
@@ -97,9 +97,6 @@
9797
<ItemGroup>
9898
<ProjectReference Include="..\src\System.Configuration.ConfigurationManager.csproj" />
9999
</ItemGroup>
100-
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
101-
<ProjectReference Include="$(LibrariesProjectRoot)System.Diagnostics.TraceSource\src\System.Diagnostics.TraceSource.csproj" />
102-
</ItemGroup>
103100
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
104101
<Reference Include="System.Configuration" />
105102
<!-- Manually reference the transitive dependency to make NuGet pick the package over the transitive project: https://github.com/NuGet/Home/issues/10368 -->

src/libraries/tests.proj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,6 @@
339339
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj" />
340340
</ItemGroup>
341341

342-
<ItemGroup Condition="'$(TargetOS)' == 'Android' or '$(TargetOS)' == 'iOS' or '$(TargetOS)' == 'iOSSimulator' or '$(TargetOS)' == 'tvOS' or '$(TargetOS)' == 'tvOSSimulator' or '$(TargetOS)' == 'MacCatalyst'">
343-
<!-- Build error: https://github.com/dotnet/runtime/issues/73792 -->
344-
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Configuration.ConfigurationManager/tests/System.Configuration.ConfigurationManager.Tests.csproj" />
345-
</ItemGroup>
346-
347342
<ItemGroup Condition="'$(TargetOS)' == 'Browser' and '$(RunDisabledWasmTests)' != 'true' and '$(RunAOTCompilation)' != 'true'">
348343
</ItemGroup>
349344

0 commit comments

Comments
 (0)