Remove package for System.IO.Pipes.AccessControl
authorWes Haggard <Wes.Haggard@microsoft.com>
Tue, 28 Aug 2018 22:22:39 +0000 (15:22 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Aug 2018 16:39:06 +0000 (09:39 -0700)
We no longer need to ship an updated version of this package
so remove it as well as all but the netcoreapp and uap build
configurations. The API surface is frozen because it is inbox on
uap so we cannot do anything beyond service the package which can
happen in the servicing branches. If we need to make a larger change
to this library we can always bring back the package and harvest
all the older assets.

Commit migrated from https://github.com/dotnet/corefx/commit/4e76a6c02552422ce07967f4249acad3b71b80ef

src/libraries/System.IO.Pipes.AccessControl/pkg/System.IO.Pipes.AccessControl.pkgproj [deleted file]
src/libraries/System.IO.Pipes.AccessControl/ref/Configurations.props
src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj
src/libraries/System.IO.Pipes.AccessControl/src/Configurations.props
src/libraries/System.IO.Pipes.AccessControl/src/Resources/Strings.resx [deleted file]
src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj
src/libraries/System.IO.Pipes.AccessControl/src/System/IO/PipesAclExtensions.net46.cs [deleted file]
src/libraries/external/harvestPackages/harvestPackages.props
src/libraries/pkg/Microsoft.Private.PackageBaseline/packageIndex.json

diff --git a/src/libraries/System.IO.Pipes.AccessControl/pkg/System.IO.Pipes.AccessControl.pkgproj b/src/libraries/System.IO.Pipes.AccessControl/pkg/System.IO.Pipes.AccessControl.pkgproj
deleted file mode 100644 (file)
index 07d6f26..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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
index 512a1e8..c398e42 100644 (file)
@@ -1,13 +1,8 @@
 <?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
index cb10550..bed46e9 100644 (file)
@@ -1,17 +1,12 @@
 <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>
index a64a00a..13c2d59 100644 (file)
@@ -1,16 +1,9 @@
 <?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
diff --git a/src/libraries/System.IO.Pipes.AccessControl/src/Resources/Strings.resx b/src/libraries/System.IO.Pipes.AccessControl/src/Resources/Strings.resx
deleted file mode 100644 (file)
index 4592969..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<?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>
index fb244d0..2b18ca0 100644 (file)
@@ -2,29 +2,11 @@
   <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" />
diff --git a/src/libraries/System.IO.Pipes.AccessControl/src/System/IO/PipesAclExtensions.net46.cs b/src/libraries/System.IO.Pipes.AccessControl/src/System/IO/PipesAclExtensions.net46.cs
deleted file mode 100644 (file)
index 2ff970f..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// 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);
-        }
-    }
-}
index ae54243..71c34ee 100644 (file)
@@ -91,9 +91,6 @@
 <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>
index 606a634..b32ee95 100644 (file)
       "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": {