Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 17a9de2

Browse files
committed
Merge pull request #2518 from weshaggard/FixFileSystemTestsDependency
Add P2P reference for new IO tests to System.Runtime.Extensions
2 parents 13e7635 + 018763c commit 17a9de2

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
<OutputType>Library</OutputType>
99
<AssemblyName>System.IO.FileSystem.Tests</AssemblyName>
1010
<TestCategories>InnerLoop;OuterLoop</TestCategories>
11-
<!-- Setting temporarily until we can publish a new package drop of Runtime.Extensions -->
12-
<TestWithLocalLibraries>true</TestWithLocalLibraries>
1311
</PropertyGroup>
1412
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
1513
<DebugSymbols>true</DebugSymbols>
@@ -30,6 +28,18 @@
3028
<Name>System.IO.FileSystem</Name>
3129
<Private>True</Private>
3230
</ProjectReference>
31+
32+
<!--
33+
Until an updated packages is published, temporarily copy the locally built System.Runtime.Extensions library
34+
but still reference the contract from the package for compiling.
35+
Issue https://github.com/dotnet/corefx/issues/2519 is tracking the removal of this ProjectReference
36+
-->
37+
<ProjectReference Include="..\..\System.Runtime.Extensions\src\System.Runtime.Extensions.CoreCLR.csproj">
38+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
39+
<OutputItemType>Content</OutputItemType>
40+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
41+
<Targets>Build;DebugSymbolsProjectOutputGroup</Targets>
42+
</ProjectReference>
3343
</ItemGroup>
3444
<ItemGroup>
3545
<!-- Rewritten -->

0 commit comments

Comments
 (0)