+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
- <ItemGroup>
- <ProjectReference Include="..\ref\System.IO.Pipes.AccessControl.csproj">
- <SupportedFramework>net461</SupportedFramework>
- </ProjectReference>
- <ProjectReference Include="..\src\System.IO.Pipes.AccessControl.csproj" />
- <HarvestIncludePaths Include="ref/net46;lib/net46;runtimes/win/lib/net46" />
- <HarvestIncludePaths Include="ref/netstandard1.3">
- <SupportedFramework>netcore50</SupportedFramework>
- </HarvestIncludePaths>
- <HarvestIncludePaths Include="runtimes/win/lib/netstandard1.3;lib/netstandard1.3" />
- <InboxOnTargetFramework Include="$(UAPvNextTFM)" />
- <File Include="$(PlaceHolderFile)">
- <TargetPath>runtimes/win/lib/$(UAPvNextTFM)</TargetPath>
- </File>
- </ItemGroup>
- <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
-</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
- <PackageConfigurations>
- netstandard;
- net461;
- </PackageConfigurations>
<BuildConfigurations>
- $(PackageConfigurations)
- netfx;
+ netstandard;
</BuildConfigurations>
</PropertyGroup>
</Project>
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{994DCE47-4CF6-479D-AB1D-4EA6A2809C34}</ProjectGuid>
- <IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
<Configurations>net461-Debug;net461-Release;netfx-Debug;netfx-Release;netstandard-Debug;netstandard-Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Include="System.IO.Pipes.AccessControl.cs" />
</ItemGroup>
- <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
- <Reference Include="mscorlib" />
- <Reference Include="System.Core" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetsNetFx)' != 'true'">
+ <ItemGroup>
<ProjectReference Include="..\..\System.Security.AccessControl\ref\System.Security.AccessControl.csproj" />
<ProjectReference Include="..\..\System.Security.Principal.Windows\ref\System.Security.Principal.Windows.csproj" />
</ItemGroup>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
- <PackageConfigurations>
- net461-Windows_NT;
- netcoreapp-Windows_NT;
- netstandard-Windows_NT;
- netstandard;
- </PackageConfigurations>
<BuildConfigurations>
- $(PackageConfigurations);
uap-Windows_NT;
- netfx-Windows_NT;
+ netcoreapp-Windows_NT;
</BuildConfigurations>
</PropertyGroup>
</Project>
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <data name="ArgumentOutOfRange_NeedValidPipeAccessRights" xml:space="preserve">
- <value>Invalid PipeAccessRights value.</value>
- </data>
- <data name="Argument_NonContainerInvalidAnyFlag" xml:space="preserve">
- <value>This flag may not be set on a pipe.</value>
- </data>
- <data name="InvalidOperation_PipeNotYetConnected" xml:space="preserve">
- <value>Pipe hasn't been connected yet.</value>
- </data>
- <data name="IO_IO_PipeBroken" xml:space="preserve">
- <value>Pipe is broken.</value>
- </data>
- <data name="PlatformNotSupported_AccessControl" xml:space="preserve">
- <value>Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.</value>
- </data>
-</root>
<PropertyGroup>
<AssemblyName>System.IO.Pipes.AccessControl</AssemblyName>
<ProjectGuid>{40059634-BB03-4A6F-8657-CCE2D376BC8B}</ProjectGuid>
- <IncludeDefaultReferences Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(TargetGroup)' == 'uap'">false</IncludeDefaultReferences>
- <AllowUnsafeBlocks Condition="'$(TargetGroup)' == 'netstandard'">true</AllowUnsafeBlocks>
- <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetGroup)' == 'netstandard' AND '$(TargetsWindows)' != 'true'">SR.PlatformNotSupported_AccessControl</GeneratePlatformNotSupportedAssemblyMessage>
- <IsPartialFacadeAssembly Condition="'$(TargetGroup)' != 'netstandard'">true</IsPartialFacadeAssembly>
+ <IncludeDefaultReferences>false</IncludeDefaultReferences>
+ <IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
<Configurations>net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard-Debug;netstandard-Release;netstandard-Windows_NT-Debug;netstandard-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release</Configurations>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard' AND '$(TargetsWindows)' == 'true'">
- <Compile Include="..\..\System.IO.Pipes\src\System\IO\Pipes\PipeSecurity.cs" />
- <Compile Include="..\..\System.IO.Pipes\src\System\IO\Pipes\PipeAccessRights.cs" />
- <Compile Include="..\..\System.IO.Pipes\src\System\IO\Pipes\PipeAccessRule.cs" />
- <Compile Include="..\..\System.IO.Pipes\src\System\IO\Pipes\PipeAuditRule.cs" />
- <Compile Include="..\..\System.IO.Pipes\src\System\IO\Pipes\PipesAclExtensions.cs" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
- <Reference Include="mscorlib" />
- <Reference Include="System.Core" />
- <Compile Include="System\IO\PipesAclExtensions.net46.cs" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netstandard'">
- <Reference Include="System.Security.AccessControl" />
- <Reference Include="System.Security.Principal.Windows" />
- </ItemGroup>
- <ItemGroup Condition="'$(TargetGroup)' == 'netcoreapp' OR '$(TargetGroup)' == 'uap'">
+ <ItemGroup>
<Reference Include="System.Runtime" />
<Reference Include="System.Resources.ResourceManager" />
<ProjectReference Include="..\..\System.IO.Pipes\src\System.IO.Pipes.csproj" />
+++ /dev/null
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System.IO;
-using System.Security.AccessControl;
-
-namespace System.IO.Pipes
-{
- public static class PipesAclExtensions
- {
- public static PipeSecurity GetAccessControl(PipeStream stream)
- {
- return stream.GetAccessControl();
- }
-
- public static void SetAccessControl(PipeStream stream, PipeSecurity pipeSecurity)
- {
- stream.SetAccessControl(pipeSecurity);
- }
- }
-}
<PackageReference Include="System.IO.Pipelines">
<Version>4.5.0</Version>
</PackageReference>
-<PackageReference Include="System.IO.Pipes.AccessControl">
- <Version>4.5.1</Version>
-</PackageReference>
<PackageReference Include="System.IO.Ports">
<Version>4.5.0</Version>
</PackageReference>
"StableVersions": [
"4.3.0",
"4.4.0",
+ "4.5.0",
"4.5.1"
],
"BaselineVersion": "4.5.1",
"AssemblyVersionInPackageVersion": {
"4.0.1.0": "4.3.0",
"4.0.2.0": "4.4.0",
- "4.0.3.0": "4.5.0",
- "4.0.4.0": "4.6.0"
+ "4.0.3.0": "4.5.0"
}
},
"System.IO.Ports": {