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

Commit 51b4aeb

Browse files
committed
Make System.IO.Pipes.AccessControl System.Runtime-based
Previously this partial facade was unnecessarily System.Private.Corelib- based. The assembly doesn't require any types in CoreLib so it can remain System.Runtime-based. This has the added benefit of giving the linker access to RefPath which contains all the contract assemblies in the reference closure (in case it needs more than the CSC needed).
1 parent d52ee27 commit 51b4aeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
<Reference Include="System.Security.Principal.Windows" />
2626
</ItemGroup>
2727
<ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(TargetGroup)' == 'uap'">
28-
<ReferenceFromRuntime Include="System.Private.Corelib" />
28+
<Reference Include="System.Runtime" />
29+
<Reference Include="System.Resources.ResourceManager" />
2930
<ProjectReference Include="..\..\System.IO.Pipes\src\System.IO.Pipes.csproj" />
30-
<ProjectReference Include="..\..\System.Runtime\src\System.Runtime.csproj" />
3131
<ProjectReference Include="..\..\System.Security.AccessControl\src\System.Security.AccessControl.csproj" />
3232
</ItemGroup>
3333
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />

0 commit comments

Comments
 (0)