From 74e18bce56a0b208776f55ca55a2b200798c376f Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Fri, 3 Nov 2017 11:41:04 -0700 Subject: [PATCH] Stabilize configurations for compat pack (dotnet/corefx#25017) * Stabilize configurations for Microsoft.Win32.Registry * Stabilize configurations for System.IO.FileSystem.AccessControl * Stabilize configurations for System.IO.Packaging * Stabilize configurations for System.Security.AccessControl * Stabilize configurations for System.Principal.Windows * Stabilize configurations for System.ServiceProcess.ServiceController * Stabilize configurations for System.Text.Encoding.CodePages * Some extra cleanup * Fix CI failures Commit migrated from https://github.com/dotnet/corefx/commit/39cdb933600c5dcdec1157b8d5755ec37950e2e0 --- .../Microsoft.Win32.Registry/src/Configurations.props | 9 +++++++-- .../src/Microsoft.Win32.Registry.csproj | 10 +++++++--- .../pkg/System.Data.SqlClient.pkgproj | 7 +------ .../src/Configurations.props | 15 +++++++++------ .../src/System.IO.FileSystem.AccessControl.csproj | 11 +++++------ .../System.IO.Packaging/ref/Configurations.props | 2 +- .../System.IO.Packaging/src/Configurations.props | 2 +- .../System.IO.Packaging/src/System.IO.Packaging.csproj | 1 - src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj | 3 --- .../src/Configurations.props | 4 ++-- .../src/System.Security.AccessControl.csproj | 10 +++++----- .../System.Security.Cryptography.ProtectedData.pkgproj | 7 +------ .../src/Configurations.props | 4 +++- .../PinvokeAnalyzerExceptionList.analyzerdata.netcoreapp | 1 + .../src/System.Security.Principal.Windows.csproj | 13 ++++++++----- .../src/Configurations.props | 8 ++++++-- .../src/System.ServiceProcess.ServiceController.csproj | 6 ++++-- .../src/Configurations.props | 3 ++- .../src/System.Text.Encoding.CodePages.csproj | 2 ++ 19 files changed, 65 insertions(+), 53 deletions(-) create mode 100644 src/libraries/System.Security.Principal.Windows/src/PinvokeAnalyzerExceptionList.analyzerdata.netcoreapp diff --git a/src/libraries/Microsoft.Win32.Registry/src/Configurations.props b/src/libraries/Microsoft.Win32.Registry/src/Configurations.props index a109dc9..2e410e6 100644 --- a/src/libraries/Microsoft.Win32.Registry/src/Configurations.props +++ b/src/libraries/Microsoft.Win32.Registry/src/Configurations.props @@ -1,11 +1,16 @@  - + + netstandard; netcoreapp2.0-Windows_NT; netcoreapp2.0-Unix; - netstandard; netfx-Windows_NT; + + + $(PackageConfigurations); + netcoreapp-Windows_NT; + netcoreapp-Unix; \ No newline at end of file diff --git a/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj b/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj index 6a0b6d8..9e0134c 100644 --- a/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj +++ b/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj @@ -19,11 +19,15 @@ + + + + - + Common\Interop\Windows\Interop.RegistryOptions.cs @@ -40,7 +44,7 @@ - + Common\Interop\Windows\Interop.Libraries.cs @@ -104,7 +108,7 @@ - + diff --git a/src/libraries/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj b/src/libraries/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj index 1a8bf62..f02abb8 100644 --- a/src/libraries/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj +++ b/src/libraries/System.Data.SqlClient/pkg/System.Data.SqlClient.pkgproj @@ -21,12 +21,7 @@ - - - - - - + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.AccessControl/src/Configurations.props b/src/libraries/System.IO.FileSystem.AccessControl/src/Configurations.props index 802d7df..9648129 100644 --- a/src/libraries/System.IO.FileSystem.AccessControl/src/Configurations.props +++ b/src/libraries/System.IO.FileSystem.AccessControl/src/Configurations.props @@ -1,11 +1,14 @@  - - netfx-Windows_NT; - netcoreapp2.0-Windows_NT; - netcoreapp2.0-Unix; - netstandard; - + + netstandard; + netfx-Windows_NT; + netcoreapp2.0-Windows_NT; + + + $(PackageConfigurations); + netcoreapp-Windows_NT; + \ No newline at end of file diff --git a/src/libraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj b/src/libraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj index bed54d0..ef38996 100644 --- a/src/libraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj +++ b/src/libraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj @@ -7,20 +7,19 @@ System.IO.FileSystem.AccessControl {D77FBA6C-1AA6-45A4-93E2-97A370672C53} - true + true true - SR.PlatformNotSupported_AccessControl + SR.PlatformNotSupported_AccessControl - - - + + - + Common\Interop\Windows\Interop.Errors.cs diff --git a/src/libraries/System.IO.Packaging/ref/Configurations.props b/src/libraries/System.IO.Packaging/ref/Configurations.props index e7e6149..b791396 100644 --- a/src/libraries/System.IO.Packaging/ref/Configurations.props +++ b/src/libraries/System.IO.Packaging/ref/Configurations.props @@ -4,10 +4,10 @@ netstandard1.3; net46; + netstandard; $(PackageConfigurations); - netstandard; netfx; diff --git a/src/libraries/System.IO.Packaging/src/Configurations.props b/src/libraries/System.IO.Packaging/src/Configurations.props index 965f87e..fa2d93a 100644 --- a/src/libraries/System.IO.Packaging/src/Configurations.props +++ b/src/libraries/System.IO.Packaging/src/Configurations.props @@ -4,11 +4,11 @@ net46; netstandard1.3; + netstandard; $(PackageConfigurations); netfx-Windows_NT; - netstandard; \ No newline at end of file diff --git a/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj b/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj index 195ea9b..39eccd6 100644 --- a/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj +++ b/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj @@ -11,7 +11,6 @@ netstandard2.0;$(UAPvNextTFM) $(DefineConstants);FEATURE_SERIALIZATION - diff --git a/src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj b/src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj index f070b7c..44d2950 100644 --- a/src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj +++ b/src/libraries/System.IO.Ports/pkg/System.IO.Ports.pkgproj @@ -11,8 +11,5 @@ - - - \ No newline at end of file diff --git a/src/libraries/System.Security.AccessControl/src/Configurations.props b/src/libraries/System.Security.AccessControl/src/Configurations.props index e7003b2..7276930 100644 --- a/src/libraries/System.Security.AccessControl/src/Configurations.props +++ b/src/libraries/System.Security.AccessControl/src/Configurations.props @@ -4,11 +4,11 @@ netfx-Windows_NT; netcoreapp2.0-Windows_NT; - netcoreapp2.0-Unix; netstandard; - $(PackageConfigurations) + $(PackageConfigurations); + netcoreapp-Windows_NT; uap-Windows_NT; diff --git a/src/libraries/System.Security.AccessControl/src/System.Security.AccessControl.csproj b/src/libraries/System.Security.AccessControl/src/System.Security.AccessControl.csproj index 157093f..91e34fd 100644 --- a/src/libraries/System.Security.AccessControl/src/System.Security.AccessControl.csproj +++ b/src/libraries/System.Security.AccessControl/src/System.Security.AccessControl.csproj @@ -5,13 +5,13 @@ System.Security.AccessControl true true - SR.PlatformNotSupported_AccessControl + SR.PlatformNotSupported_AccessControl {D27FFA1F-B446-4D24-B60A-1F88385CDB6D} - - + + @@ -21,7 +21,7 @@ - + @@ -125,7 +125,7 @@ - + diff --git a/src/libraries/System.Security.Cryptography.ProtectedData/pkg/System.Security.Cryptography.ProtectedData.pkgproj b/src/libraries/System.Security.Cryptography.ProtectedData/pkg/System.Security.Cryptography.ProtectedData.pkgproj index 51e87f4..7068e9d 100644 --- a/src/libraries/System.Security.Cryptography.ProtectedData/pkg/System.Security.Cryptography.ProtectedData.pkgproj +++ b/src/libraries/System.Security.Cryptography.ProtectedData/pkg/System.Security.Cryptography.ProtectedData.pkgproj @@ -10,12 +10,7 @@ - - - - - - + \ No newline at end of file diff --git a/src/libraries/System.Security.Principal.Windows/src/Configurations.props b/src/libraries/System.Security.Principal.Windows/src/Configurations.props index b16dc42..c0c9d3a 100644 --- a/src/libraries/System.Security.Principal.Windows/src/Configurations.props +++ b/src/libraries/System.Security.Principal.Windows/src/Configurations.props @@ -2,13 +2,15 @@ + netstandard; netcoreapp2.0-Windows_NT; netcoreapp2.0-Unix; - netstandard; netfx-Windows_NT; $(PackageConfigurations) + netcoreapp-Windows_NT; + netcoreapp-Unix; uap-Windows_NT; diff --git a/src/libraries/System.Security.Principal.Windows/src/PinvokeAnalyzerExceptionList.analyzerdata.netcoreapp b/src/libraries/System.Security.Principal.Windows/src/PinvokeAnalyzerExceptionList.analyzerdata.netcoreapp new file mode 100644 index 0000000..6012e5a --- /dev/null +++ b/src/libraries/System.Security.Principal.Windows/src/PinvokeAnalyzerExceptionList.analyzerdata.netcoreapp @@ -0,0 +1 @@ +advapi32.dll!LsaNtStatusToWinError \ No newline at end of file diff --git a/src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj b/src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj index ae96f2e..2978474 100644 --- a/src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj +++ b/src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj @@ -12,18 +12,21 @@ $(DefineConstants);uap - - - + + + + + + - + @@ -183,7 +186,7 @@ Common\Microsoft\Win32\SafeHandles\SafeLsaHandle.cs - + Common\Interop\Interop.CheckTokenMembership.cs diff --git a/src/libraries/System.ServiceProcess.ServiceController/src/Configurations.props b/src/libraries/System.ServiceProcess.ServiceController/src/Configurations.props index 02a949d..ad80ed9 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/src/Configurations.props +++ b/src/libraries/System.ServiceProcess.ServiceController/src/Configurations.props @@ -1,10 +1,14 @@  - - netcoreapp2.0-Windows_NT; + netstandard; + netcoreapp2.0-Windows_NT; netfx-Windows_NT; + + + $(PackageConfigurations); + netcoreapp-Windows_NT; \ No newline at end of file diff --git a/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj b/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj index fca6f12..4e81d71 100644 --- a/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj +++ b/src/libraries/System.ServiceProcess.ServiceController/src/System.ServiceProcess.ServiceController.csproj @@ -14,11 +14,13 @@ + + - + Common\Interop\Windows\Interop.Libraries.cs @@ -103,7 +105,7 @@ - + diff --git a/src/libraries/System.Text.Encoding.CodePages/src/Configurations.props b/src/libraries/System.Text.Encoding.CodePages/src/Configurations.props index 8dcacd7..5a32b85 100644 --- a/src/libraries/System.Text.Encoding.CodePages/src/Configurations.props +++ b/src/libraries/System.Text.Encoding.CodePages/src/Configurations.props @@ -3,11 +3,12 @@ netstandard; - netcoreapp-Windows_NT; + netcoreapp2.0-Windows_NT; netstandard-Windows_NT; $(PackageConfigurations); + netcoreapp-Windows_NT; uap-Windows_NT; diff --git a/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj b/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj index 77023d5..242c0bc 100644 --- a/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj +++ b/src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj @@ -12,6 +12,8 @@ + + -- 2.7.4