From 50d8a5f65d8f11bf8fa9ee2c885308d7da0f649f Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Fri, 8 Nov 2019 14:43:17 -0800 Subject: [PATCH] Cleanup MSBuild conditional operators to be all in lowercase (dotnet/corefx#42491) Commit migrated from https://github.com/dotnet/corefx/commit/ab01852685e659a685af2ace33af5b3cefdf8430 --- eng/codeAnalysis.targets | 6 ++--- eng/codeOptimization.targets | 2 +- eng/depProj.targets | 6 ++--- eng/illink.targets | 12 ++++----- eng/notSupported.SourceBuild.targets | 2 +- eng/packaging.props | 2 +- eng/packaging.targets | 4 +-- eng/referenceFromRuntime.targets | 14 +++++----- eng/resources.targets | 6 ++--- eng/versioning.targets | 2 +- src/libraries/Directory.Build.props | 24 ++++++++--------- src/libraries/Directory.Build.targets | 12 ++++----- .../src/Microsoft.Win32.Registry.csproj | 6 ++--- .../src/Microsoft.Win32.SystemEvents.csproj | 2 +- .../Microsoft.XmlSerializer.Generator.targets | 4 +-- src/libraries/Native/build-native.proj | 2 +- .../Native/pkg/Directory.Build.targets | 6 ++--- .../src/System.Data.Odbc.csproj | 2 +- .../src/System.Data.OleDb.csproj | 4 +-- .../src/System.Data.SqlClient.csproj | 22 ++++++++-------- ...System.Diagnostics.DiagnosticSource.csproj | 4 +-- ...System.Diagnostics.DiagnosticSource.csproj | 10 +++---- .../src/System.Diagnostics.Process.csproj | 4 +-- .../src/System.IO.FileSystem.Watcher.csproj | 2 +- .../ref/System.IO.Packaging.csproj | 4 +-- .../src/System.IO.Packaging.csproj | 4 +-- .../src/System.IO.Ports.csproj | 10 +++---- .../src/System.Net.Http.WinHttpHandler.csproj | 2 +- .../src/System.Net.Http.csproj | 2 +- .../src/System.Net.HttpListener.csproj | 4 +-- .../src/System.Net.NetworkInformation.csproj | 2 +- .../src/System.Net.Security.csproj | 2 +- .../src/System.Reflection.Context.csproj | 2 +- .../System.Reflection.TypeExtensions.csproj | 6 ++--- ...em.Security.Cryptography.Algorithms.csproj | 2 +- ...urity.Cryptography.Algorithms.Tests.csproj | 4 +-- .../System.Security.Cryptography.Cng.csproj | 2 +- .../System.Security.Cryptography.Cng.csproj | 6 ++--- ...stem.Security.Cryptography.Encoding.csproj | 2 +- .../System.Security.Cryptography.Pkcs.csproj | 8 +++--- ...em.Security.Cryptography.Pkcs.Tests.csproj | 4 +-- ...urity.Cryptography.X509Certificates.csproj | 6 ++--- ...Cryptography.X509Certificates.Tests.csproj | 2 +- .../src/System.Text.Json.csproj | 2 +- .../System.Threading.Tasks.Dataflow.csproj | 6 ++--- src/libraries/dir.traversal.targets | 2 +- src/libraries/pkg/Directory.Build.props | 2 +- src/libraries/pkg/dir.traversal.targets | 4 +-- src/libraries/pkg/frameworkPackage.targets | 26 +++++++++---------- src/libraries/pkg/test/packageTest.targets | 10 +++---- src/libraries/restore/netfx/netfx.depproj | 10 +++---- src/libraries/restore/runtime/runtime.depproj | 4 +-- src/libraries/shims/ApiCompat.proj | 2 +- src/libraries/shims/Directory.Build.props | 2 +- src/libraries/tests.proj | 2 +- 55 files changed, 153 insertions(+), 153 deletions(-) diff --git a/eng/codeAnalysis.targets b/eng/codeAnalysis.targets index 74f6163d458dd9..de4eb79cd35db1 100644 --- a/eng/codeAnalysis.targets +++ b/eng/codeAnalysis.targets @@ -1,5 +1,5 @@ - + - true + true @@ -73,7 +73,7 @@ $(ILLinkArgs) -p link $(TargetName) $(ILLinkArgs) -t - $(ILLinkArgs) -b true + $(ILLinkArgs) -b true $(ILLinkArgs) -v true @@ -96,7 +96,7 @@ @@ -174,11 +174,11 @@ Condition="'$(ILLinkTrimAssembly)' == 'true'"> - + - + diff --git a/eng/notSupported.SourceBuild.targets b/eng/notSupported.SourceBuild.targets index 373fc1dd16e6c7..d8d5e47d0129a5 100644 --- a/eng/notSupported.SourceBuild.targets +++ b/eng/notSupported.SourceBuild.targets @@ -14,7 +14,7 @@ - diff --git a/eng/packaging.props b/eng/packaging.props index 50af85833e7617..2b76c44449ed6f 100644 --- a/eng/packaging.props +++ b/eng/packaging.props @@ -45,7 +45,7 @@ $(BuildConfigurations) - + <_referencePathFromRuntimeByFileName Include="@(_referencePathFromRuntime->'%(FileName)')" Condition="'%(_referencePathFromRuntime.Extension)' == '.dll'" > @@ -46,7 +46,7 @@ <_filteredReferencePathFromRuntimeByFileName Include="@(_referencePathFromRuntimeByFileName)" - Condition="'@(_referencePathFromRuntimeByFileName)' == '@(ReferenceFromRuntime)' AND '%(Identity)' != ''"> + Condition="'@(_referencePathFromRuntimeByFileName)' == '@(ReferenceFromRuntime)' and '%(Identity)' != ''"> @(ReferenceFromRuntime->'%(Aliases)') @@ -58,7 +58,7 @@ <_filteredReferencePathFromRuntimeByFileName Include="@(_referencePathFromRuntimeByFileName)" - Condition="'@(_referencePathFromRuntimeByFileName)' == '@(_remainingReferenceFromRuntimeWithNI)' AND '%(Identity)' != ''"> + Condition="'@(_referencePathFromRuntimeByFileName)' == '@(_remainingReferenceFromRuntimeWithNI)' and '%(Identity)' != ''"> @(_remainingReferenceFromRuntimeWithNI->'%(Aliases)') diff --git a/eng/resources.targets b/eng/resources.targets index 5df76a12cd695e..252cd4ae63b5d3 100644 --- a/eng/resources.targets +++ b/eng/resources.targets @@ -3,7 +3,7 @@ .cs .vb - $(MSBuildProjectDirectory)/Resources/Strings.resx + $(MSBuildProjectDirectory)/Resources/Strings.resx System SR FxResources.$(AssemblyName).$(StringResourcesClassName) @@ -15,7 +15,7 @@ - + true $(StringResourcesName) @@ -25,7 +25,7 @@ - + true Resources/Common/SR$(ResourcesSourceFileExtension) diff --git a/eng/versioning.targets b/eng/versioning.targets index cfad657c09dd88..25210133679f34 100644 --- a/eng/versioning.targets +++ b/eng/versioning.targets @@ -23,7 +23,7 @@ + Condition="'$(IsDotNetFrameworkProductAssembly)' == 'true' and '$(IsTestProject)' != 'true'"> diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 8c0025adca6d3f..bfdae1fde638cd 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -48,9 +48,9 @@ https://github.com/Microsoft/msbuild/blob/3a9d1d2ae23e41b32a612ea6b0dce531fcf86be7/src/Build/Evaluation/IntrinsicFunctions.cs#L431 --> OSX - FreeBSD - NetBSD - Linux + FreeBSD + NetBSD + Linux $(OS) @@ -126,7 +126,7 @@ <_runtimeOSFamily Condition="'$(_runtimeOSVersionIndex)' != '-1'">$(RuntimeOS.SubString(0, $(_runtimeOSVersionIndex))) <_portableOS>linux <_portableOS Condition="'$(RuntimeOS)' == 'linux-musl'">linux-musl - <_portableOS Condition="'$(_runtimeOSFamily)' == 'win' OR '$(OSGroup)' == 'Windows_NT'">win + <_portableOS Condition="'$(_runtimeOSFamily)' == 'win' or '$(OSGroup)' == 'Windows_NT'">win <_portableOS Condition="'$(_runtimeOSFamily)' == 'osx'">osx <_portableOS Condition="'$(_runtimeOSFamily)' == 'FreeBSD'">freebsd <_portableOS Condition="'$(RuntimeOS)' == 'WebAssembly'">webassembly @@ -138,7 +138,7 @@ $(_runtimeOS)-x64 $(_runtimeOS)-$(HostArch) - linux-x64 + linux-x64 <_buildingInOSX>$([MSBuild]::IsOSPlatform('OSX')) @@ -147,10 +147,10 @@ linux-x64 - <_portableOS Condition="'$(OSGroup)' == 'Unix' and '$(_runtimeOSFamily)' != 'osx' and '$(_runtimeOSFamily)' != 'FreeBSD' AND '$(_runtimeOS)' != 'linux-musl'">linux + <_portableOS Condition="'$(OSGroup)' == 'Unix' and '$(_runtimeOSFamily)' != 'osx' and '$(_runtimeOSFamily)' != 'FreeBSD' and '$(_runtimeOS)' != 'linux-musl'">linux - <_portableOS Condition="'$(OSGroup)' == 'Unix' AND '$(_runtimeOSFamily)' != 'osx' AND '$(_runtimeOSFamily)' != 'FreeBSD' AND '$(_runtimeOS)' != 'linux-musl'">linux + <_portableOS Condition="'$(OSGroup)' == 'Unix' and '$(_runtimeOSFamily)' != 'osx' and '$(_runtimeOSFamily)' != 'FreeBSD' and '$(_runtimeOS)' != 'linux-musl'">linux <_packageRID /> <_packageRID Condition="'$(PortableBuild)' == 'true'">$(_portableOS)-$(ArchGroup) @@ -167,8 +167,8 @@ - true - true + true + true - + false - $(NoWarn);nullable + $(NoWarn);nullable @@ -369,7 +369,7 @@ false - + diff --git a/src/libraries/Directory.Build.targets b/src/libraries/Directory.Build.targets index 42ec782daad667..7c8a0959823f9f 100644 --- a/src/libraries/Directory.Build.targets +++ b/src/libraries/Directory.Build.targets @@ -53,15 +53,15 @@ - true + true true $(IsNETCoreApp) $(IsNetFxNETStandard) - true - true + true + true @@ -71,13 +71,13 @@ $(RuntimePath) - + $(NETCoreAppPackageRefPath) $(NETCoreAppPackageRuntimePath) $(NETCoreAppPackageRuntimePath)\..\runtime - $(RefRootPath)microsoft.netcore.app + $(RefRootPath)microsoft.netcore.app - ILLinkTrimAssembly=true + ILLinkTrimAssembly=true 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 c7030e104ba212..3f61c027732c2e 100644 --- a/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj +++ b/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj @@ -4,11 +4,11 @@ $(NoWarn);CS1573 $(DefineConstants);REGISTRY_ASSEMBLY true - SR.PlatformNotSupported_Registry + SR.PlatformNotSupported_Registry $(NoWarn);CA1823 net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard2.0-Unix-Debug;netstandard2.0-Unix-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release - + Common\CoreLib\Interop\Windows\Advapi32\Interop.RegistryConstants.cs @@ -26,7 +26,7 @@ - + Common\Interop\Windows\Interop.Libraries.cs diff --git a/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj b/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj index c944d332dcd8a9..70d12f16dccaa1 100644 --- a/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj +++ b/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj @@ -2,7 +2,7 @@ true true - SR.PlatformNotSupported_SystemEvents + SR.PlatformNotSupported_SystemEvents net461-Debug;net461-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.0-Windows_NT-Debug;netcoreapp2.0-Windows_NT-Release;netcoreapp3.0-Windows_NT-Debug;netcoreapp3.0-Windows_NT-Release;netfx-Debug;netfx-Release;netstandard2.0-Debug;netstandard2.0-Release diff --git a/src/libraries/Microsoft.XmlSerializer.Generator/pkg/build/Microsoft.XmlSerializer.Generator.targets b/src/libraries/Microsoft.XmlSerializer.Generator/pkg/build/Microsoft.XmlSerializer.Generator.targets index 4b92471d0d8947..a66dd7eb7a24df 100644 --- a/src/libraries/Microsoft.XmlSerializer.Generator/pkg/build/Microsoft.XmlSerializer.Generator.targets +++ b/src/libraries/Microsoft.XmlSerializer.Generator/pkg/build/Microsoft.XmlSerializer.Generator.targets @@ -36,8 +36,8 @@ - - + + diff --git a/src/libraries/Native/build-native.proj b/src/libraries/Native/build-native.proj index 69fbc27445dc74..75fab11e50bedf 100644 --- a/src/libraries/Native/build-native.proj +++ b/src/libraries/Native/build-native.proj @@ -39,7 +39,7 @@ + Condition="'$(OS)' == 'Windows_NT' and '$(TargetsNetFx)' != 'true'"> <_BuildNativeWindowsArgs>$(_BuildNativeArgs) diff --git a/src/libraries/Native/pkg/Directory.Build.targets b/src/libraries/Native/pkg/Directory.Build.targets index 61c4a1f65bf823..be65b4a8d26a09 100644 --- a/src/libraries/Native/pkg/Directory.Build.targets +++ b/src/libraries/Native/pkg/Directory.Build.targets @@ -38,7 +38,7 @@ - + true @@ -46,11 +46,11 @@ - true + true - + runtimes/$(PackageTargetRuntime)/native true diff --git a/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj b/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj index e0da873748e78b..e5f6a48a1ad9b2 100644 --- a/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj +++ b/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj @@ -121,7 +121,7 @@ Common\Interop\Interop.Odbc.cs - + Common\Interop\Linux\Interop.Libraries.cs diff --git a/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj b/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj index fb98791e91abaa..1552a77645cccf 100644 --- a/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj +++ b/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj @@ -3,11 +3,11 @@ true $(NoWarn);CS1573 true - SR.PlatformNotSupported_OleDb + SR.PlatformNotSupported_OleDb net461-Windows_NT-Debug;net461-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release true - + Common\Interop\Windows\Interop.Libraries.cs diff --git a/src/libraries/System.Data.SqlClient/src/System.Data.SqlClient.csproj b/src/libraries/System.Data.SqlClient/src/System.Data.SqlClient.csproj index 11ac29a604057b..a9672f5abd706d 100644 --- a/src/libraries/System.Data.SqlClient/src/System.Data.SqlClient.csproj +++ b/src/libraries/System.Data.SqlClient/src/System.Data.SqlClient.csproj @@ -12,14 +12,14 @@ net461-Windows_NT-Debug;net461-Windows_NT-Release;netcoreapp-Debug;netcoreapp-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreapp2.1-Debug;netcoreapp2.1-Release;netcoreapp2.1-Unix-Debug;netcoreapp2.1-Unix-Release;netcoreapp2.1-Windows_NT-Debug;netcoreapp2.1-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard2.0-Unix-Debug;netstandard2.0-Unix-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release;netstandard1.2-Debug;netstandard1.2-Release;netstandard1.3-Debug;netstandard1.3-Release annotations - + - + - + @@ -213,11 +213,11 @@ - + - + Common\CoreLib\Interop\Windows\Kernel32\Interop.FileTypes.cs @@ -274,7 +274,7 @@ - + @@ -283,13 +283,13 @@ - + - + @@ -424,7 +424,7 @@ - + Common\System\Net\ContextFlagsPal.cs @@ -451,7 +451,7 @@ Common\System\Net\NegotiationInfoClass.cs - + @@ -513,7 +513,7 @@ - + diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSource.csproj b/src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSource.csproj index 8d9c811de11694..bca5df7184993a 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSource.csproj +++ b/src/libraries/System.Diagnostics.DiagnosticSource/ref/System.Diagnostics.DiagnosticSource.csproj @@ -4,7 +4,7 @@ false enable - + $(DefineConstants);ALLOW_PARTIALLY_TRUSTED_CALLERS @@ -14,7 +14,7 @@ - + diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System.Diagnostics.DiagnosticSource.csproj b/src/libraries/System.Diagnostics.DiagnosticSource/src/System.Diagnostics.DiagnosticSource.csproj index a2064f7a5ed373..d87ab1829411ba 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System.Diagnostics.DiagnosticSource.csproj +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System.Diagnostics.DiagnosticSource.csproj @@ -9,9 +9,9 @@ false $(NoWarn);SA1205 enable - $(DefineConstants);NO_EVENTSOURCE_COMPLEX_TYPE_SUPPORT + $(DefineConstants);NO_EVENTSOURCE_COMPLEX_TYPE_SUPPORT $(DefineConstants);EVENTSOURCE_ACTIVITY_SUPPORT - $(DefineConstants);EVENTSOURCE_ENUMERATE_SUPPORT + $(DefineConstants);EVENTSOURCE_ENUMERATE_SUPPORT $(DefineConstants);ALLOW_PARTIALLY_TRUSTED_CALLERS;ENABLE_HTTP_HANDLER net45-Debug;net45-Release;net46-Debug;net46-Release;netcoreapp-Debug;netcoreapp-Release;netfx-Debug;netfx-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.1-Debug;netstandard1.1-Release;netstandard1.3-Debug;netstandard1.3-Release @@ -39,13 +39,13 @@ - + - + - + diff --git a/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj b/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj index c26aad5300d160..7c6409e525ce31 100644 --- a/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj +++ b/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj @@ -7,7 +7,7 @@ $(NoWarn);CS1573 netcoreapp-FreeBSD-Debug;netcoreapp-FreeBSD-Release;netcoreapp-Linux-Debug;netcoreapp-Linux-Release;netcoreapp-OSX-Debug;netcoreapp-OSX-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release - + $(NoWarn);0649 @@ -405,7 +405,7 @@ Common\Interop\OSX\Interop.Libraries.cs - + Common\Interop\Windows\Shell32\Interop.ShellExecuteExW.cs diff --git a/src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj b/src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj index 2e54f36b9599bf..c82040b5943f03 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj +++ b/src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj @@ -125,7 +125,7 @@ Common\System\Text\ValueUtf8Converter.cs - + diff --git a/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj index fbd2361ef26e33..cecaf0c914d4b5 100644 --- a/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj +++ b/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.csproj @@ -1,6 +1,6 @@  - true + true $(DefineConstants);netcoreapp net46-Debug;net46-Release;netfx-Debug;netfx-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.3-Debug;netstandard1.3-Release @@ -11,7 +11,7 @@ - + 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 1809d72524e0cf..28f890bf917912 100644 --- a/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj +++ b/src/libraries/System.IO.Packaging/src/System.IO.Packaging.csproj @@ -3,7 +3,7 @@ System.IO.Packaging System.IO.Packaging true - true + true $(DefineConstants);FEATURE_SERIALIZATION net46-Debug;net46-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.3-Debug;netstandard1.3-Release @@ -51,7 +51,7 @@ - + diff --git a/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj b/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj index 979ce7e1524db6..f143f7d825588d 100644 --- a/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj +++ b/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj @@ -2,12 +2,12 @@ true true - SR.PlatformNotSupported_IOPorts + SR.PlatformNotSupported_IOPorts $(DefineConstants);NOSPAN true net461-Windows_NT-Debug;net461-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Linux-Debug;netstandard2.0-Linux-Release;netstandard2.0-OSX-Debug;netstandard2.0-OSX-Release;netstandard2.0-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release - + @@ -24,7 +24,7 @@ - + Common\Interop\Windows\Kernel32\Interop.DCB.cs @@ -145,7 +145,7 @@ - + @@ -184,7 +184,7 @@ - + diff --git a/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj b/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj index e5564356164937..c7f02597c97a6c 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj +++ b/src/libraries/System.Net.Http.WinHttpHandler/src/System.Net.Http.WinHttpHandler.csproj @@ -6,7 +6,7 @@ net461-Windows_NT-Debug;net461-Windows_NT-Release;netfx-Windows_NT-Debug;netfx-Windows_NT-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard2.0-Windows_NT-Debug;netstandard2.0-Windows_NT-Release - + diff --git a/src/libraries/System.Net.Http/src/System.Net.Http.csproj b/src/libraries/System.Net.Http/src/System.Net.Http.csproj index 3419270a228d92..b7b75b950fc955 100644 --- a/src/libraries/System.Net.Http/src/System.Net.Http.csproj +++ b/src/libraries/System.Net.Http/src/System.Net.Http.csproj @@ -542,7 +542,7 @@ Common\CoreLib\System\Threading\Tasks\TaskToApm.cs - + Common\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.cs diff --git a/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj b/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj index 3f804b3b52296d..280c784faf5edb 100644 --- a/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj +++ b/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj @@ -104,7 +104,7 @@ Common\System\Runtime\CompilerServices\PreserveDependencyAttribute.cs - + @@ -335,7 +335,7 @@ Common\Interop\Windows\SspiCli\SSPIWrapper.cs - + diff --git a/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj b/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj index 332103e1f93e17..47a31c884e3331 100644 --- a/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj +++ b/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj @@ -227,7 +227,7 @@ - + diff --git a/src/libraries/System.Net.Security/src/System.Net.Security.csproj b/src/libraries/System.Net.Security/src/System.Net.Security.csproj index 701b822b1287b1..01fa58269d2e5d 100644 --- a/src/libraries/System.Net.Security/src/System.Net.Security.csproj +++ b/src/libraries/System.Net.Security/src/System.Net.Security.csproj @@ -314,7 +314,7 @@ - + diff --git a/src/libraries/System.Reflection.Context/src/System.Reflection.Context.csproj b/src/libraries/System.Reflection.Context/src/System.Reflection.Context.csproj index 957e713b36b4f5..e798b5cd6ae369 100644 --- a/src/libraries/System.Reflection.Context/src/System.Reflection.Context.csproj +++ b/src/libraries/System.Reflection.Context/src/System.Reflection.Context.csproj @@ -1,7 +1,7 @@ Library - SR.PlatformNotSupported_ReflectionContext + SR.PlatformNotSupported_ReflectionContext netstandard2.0-Debug;netstandard2.0-Release;netstandard1.1-Debug;netstandard1.1-Release;netstandard2.1-Debug;netstandard2.1-Release diff --git a/src/libraries/System.Reflection.TypeExtensions/src/System.Reflection.TypeExtensions.csproj b/src/libraries/System.Reflection.TypeExtensions/src/System.Reflection.TypeExtensions.csproj index 9efe6be5241b25..a477c0be46c9ea 100644 --- a/src/libraries/System.Reflection.TypeExtensions/src/System.Reflection.TypeExtensions.csproj +++ b/src/libraries/System.Reflection.TypeExtensions/src/System.Reflection.TypeExtensions.csproj @@ -5,12 +5,12 @@ enable net461-Debug;net461-Release;netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netfx-Debug;netfx-Release;netstandard2.0-Debug;netstandard2.0-Release;netstandard1.3-Debug;netstandard1.3-Release;netstandard1.5-Debug;netstandard1.5-Release - + SR.PlatformNotSupported_ReflectionTypeExtensions 4.0.0.0 4.1.0.0 - + @@ -18,7 +18,7 @@ - + diff --git a/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj b/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj index d11d0c291daada..45915d896501e1 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj +++ b/src/libraries/System.Security.Cryptography.Algorithms/src/System.Security.Cryptography.Algorithms.csproj @@ -475,7 +475,7 @@ Common\System\Security\Cryptography\RSACng.SignVerify.cs - + Common\Interop\Unix\System.Security.Cryptography.Native\Interop.ASN1.cs diff --git a/src/libraries/System.Security.Cryptography.Algorithms/tests/System.Security.Cryptography.Algorithms.Tests.csproj b/src/libraries/System.Security.Cryptography.Algorithms/tests/System.Security.Cryptography.Algorithms.Tests.csproj index d9b21a78f8722e..a7109d0b1bfa35 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/tests/System.Security.Cryptography.Algorithms.Tests.csproj +++ b/src/libraries/System.Security.Cryptography.Algorithms/tests/System.Security.Cryptography.Algorithms.Tests.csproj @@ -122,7 +122,7 @@ - + @@ -131,7 +131,7 @@ Common\Interop\Unix\Interop.Libraries.cs - + diff --git a/src/libraries/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.csproj b/src/libraries/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.csproj index dbbbfde40c3d21..d26862c9a41a9f 100644 --- a/src/libraries/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.csproj +++ b/src/libraries/System.Security.Cryptography.Cng/ref/System.Security.Cryptography.Cng.csproj @@ -1,6 +1,6 @@ - $(DefineConstants);FEATURE_ECPARAMETERS + $(DefineConstants);FEATURE_ECPARAMETERS $(DefineConstants);FEATURE_DSA_HASHDATA diff --git a/src/libraries/System.Security.Cryptography.Cng/src/System.Security.Cryptography.Cng.csproj b/src/libraries/System.Security.Cryptography.Cng/src/System.Security.Cryptography.Cng.csproj index c471927cfc86dc..69ce18168544a9 100644 --- a/src/libraries/System.Security.Cryptography.Cng/src/System.Security.Cryptography.Cng.csproj +++ b/src/libraries/System.Security.Cryptography.Cng/src/System.Security.Cryptography.Cng.csproj @@ -11,9 +11,9 @@ SR.PlatformNotSupported_CryptographyCng 4.3.0.0 - - - + + + diff --git a/src/libraries/System.Security.Cryptography.Encoding/src/System.Security.Cryptography.Encoding.csproj b/src/libraries/System.Security.Cryptography.Encoding/src/System.Security.Cryptography.Encoding.csproj index 1d6d9e90a83ad5..12083ff8d24991 100644 --- a/src/libraries/System.Security.Cryptography.Encoding/src/System.Security.Cryptography.Encoding.csproj +++ b/src/libraries/System.Security.Cryptography.Encoding/src/System.Security.Cryptography.Encoding.csproj @@ -56,7 +56,7 @@ Common\Interop\Windows\Interop.Libraries.cs - + diff --git a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj index 38825508136142..d517d40085ed6a 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj +++ b/src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj @@ -133,7 +133,7 @@ - + @@ -154,7 +154,7 @@ - + Common\Interop\Windows\Advapi32\Interop.CryptAcquireContext.cs @@ -370,7 +370,7 @@ - + Common\Internal\Cryptography\Windows\CryptoThrowHelper.cs @@ -379,7 +379,7 @@ - + diff --git a/src/libraries/System.Security.Cryptography.Pkcs/tests/System.Security.Cryptography.Pkcs.Tests.csproj b/src/libraries/System.Security.Cryptography.Pkcs/tests/System.Security.Cryptography.Pkcs.Tests.csproj index a5b2758b9c4d82..99ccf2ea2ffcdd 100644 --- a/src/libraries/System.Security.Cryptography.Pkcs/tests/System.Security.Cryptography.Pkcs.Tests.csproj +++ b/src/libraries/System.Security.Cryptography.Pkcs/tests/System.Security.Cryptography.Pkcs.Tests.csproj @@ -62,10 +62,10 @@ - + - + \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.X509Certificates/src/System.Security.Cryptography.X509Certificates.csproj b/src/libraries/System.Security.Cryptography.X509Certificates/src/System.Security.Cryptography.X509Certificates.csproj index e3238a5986bc04..e1ae3bef2077b1 100644 --- a/src/libraries/System.Security.Cryptography.X509Certificates/src/System.Security.Cryptography.X509Certificates.csproj +++ b/src/libraries/System.Security.Cryptography.X509Certificates/src/System.Security.Cryptography.X509Certificates.csproj @@ -295,7 +295,7 @@ Common\Microsoft\Win32\SafeHandles\SafeBCryptKeyHandle.cs - + System\Security\Cryptography\X509Certificates\Asn1\DistributionPointAsn.xml @@ -452,7 +452,7 @@ Common\System\IO\PersistedFiles.Names.Unix.cs - + Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs @@ -773,7 +773,7 @@ - + diff --git a/src/libraries/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj b/src/libraries/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj index a345bde7c00244..1a1fff82d7075b 100644 --- a/src/libraries/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj +++ b/src/libraries/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj @@ -63,7 +63,7 @@ - + Common\Interop\Unix\Interop.Libraries.cs diff --git a/src/libraries/System.Text.Json/src/System.Text.Json.csproj b/src/libraries/System.Text.Json/src/System.Text.Json.csproj index 7d497b6aad4d17..1d3e953b51287a 100644 --- a/src/libraries/System.Text.Json/src/System.Text.Json.csproj +++ b/src/libraries/System.Text.Json/src/System.Text.Json.csproj @@ -169,7 +169,7 @@ Common\System\Runtime\CompilerServices\PreserveDependencyAttribute.cs - + diff --git a/src/libraries/System.Threading.Tasks.Dataflow/src/System.Threading.Tasks.Dataflow.csproj b/src/libraries/System.Threading.Tasks.Dataflow/src/System.Threading.Tasks.Dataflow.csproj index 228cbba072a537..beb3e68c172b49 100644 --- a/src/libraries/System.Threading.Tasks.Dataflow/src/System.Threading.Tasks.Dataflow.csproj +++ b/src/libraries/System.Threading.Tasks.Dataflow/src/System.Threading.Tasks.Dataflow.csproj @@ -1,8 +1,8 @@ - $(DefineConstants);FEATURE_TRACING + $(DefineConstants);FEATURE_TRACING $(DefineConstants);USE_INTERNAL_CONCURRENT_COLLECTIONS - $(DefineConstants);USE_INTERNAL_THREADING + $(DefineConstants);USE_INTERNAL_THREADING netstandard1.1;portable-net45+win8+wpa81 netstandard2.0-Debug;netstandard2.0-Release;netstandard1.0-Debug;netstandard1.0-Release;netstandard1.1-Debug;netstandard1.1-Release @@ -44,7 +44,7 @@ Common\Internal\Padding.cs - + diff --git a/src/libraries/dir.traversal.targets b/src/libraries/dir.traversal.targets index 93dc138f62cece..8caa6292681745 100644 --- a/src/libraries/dir.traversal.targets +++ b/src/libraries/dir.traversal.targets @@ -10,7 +10,7 @@ however since the project names are unique it will essentially force each to run in its own batch --> diff --git a/src/libraries/pkg/Directory.Build.props b/src/libraries/pkg/Directory.Build.props index d5fe113e8892f3..78d3bc0c36c943 100644 --- a/src/libraries/pkg/Directory.Build.props +++ b/src/libraries/pkg/Directory.Build.props @@ -5,7 +5,7 @@ - true + true false diff --git a/src/libraries/pkg/dir.traversal.targets b/src/libraries/pkg/dir.traversal.targets index b1da72a85fa11e..b4bf9f1e82673a 100644 --- a/src/libraries/pkg/dir.traversal.targets +++ b/src/libraries/pkg/dir.traversal.targets @@ -20,9 +20,9 @@ - <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '' AND '$(SkipBuildIdentityPackage)' != 'true'" /> + <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '' and '$(SkipBuildIdentityPackage)' != 'true'" /> - <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' AND '$(SkipBuildRuntimePackage)' != 'true'" /> + <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)' and '$(SkipBuildRuntimePackage)' != 'true'" /> diff --git a/src/libraries/pkg/frameworkPackage.targets b/src/libraries/pkg/frameworkPackage.targets index a17a2660ae21d5..4821bb4495fd9b 100644 --- a/src/libraries/pkg/frameworkPackage.targets +++ b/src/libraries/pkg/frameworkPackage.targets @@ -1,21 +1,21 @@ - true + true true 2.0 $(NuGetPackageRoot)$(NETStandardLibraryPackage)\$(NETStandardLibraryVersion)\build\netstandard$(NETStandardVersion)\ref - true - true - true + true + true + true ref/$(TargetFramework) - lib/$(TargetFramework) - runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework) + lib/$(TargetFramework) + runtimes/$(PackageTargetRuntime)/lib/$(TargetFramework) - runtimes/$(PackageTargetRuntime)/native + runtimes/$(PackageTargetRuntime)/native $(NativeBinDir)-aot @@ -42,11 +42,11 @@ - - - @@ -83,11 +83,11 @@ - + reference - + runtime @@ -170,7 +170,7 @@ true - true + true diff --git a/src/libraries/pkg/test/packageTest.targets b/src/libraries/pkg/test/packageTest.targets index d3aac559e5170a..13b4288879fe58 100644 --- a/src/libraries/pkg/test/packageTest.targets +++ b/src/libraries/pkg/test/packageTest.targets @@ -30,7 +30,7 @@ + Condition="'$(ShouldVerifyClosure)' == 'true' and '$(RuntimeIdentifier)' == ''"> <_refClosureFileNames Include="@(ReferencePath->'%(FileName)')"> %(Identity) @@ -46,7 +46,7 @@ + Condition="'$(ShouldVerifyTypes)' == 'true' and '$(RuntimeIdentifier)' == ''"> <_refTypesFileNames Include="@(ReferencePath->'%(FileName)')"> %(Identity) @@ -62,7 +62,7 @@ + Condition="'$(ShouldVerifyClosure)' == 'true' and '$(RuntimeIdentifier)' != ''"> <_runClosureFileNames Include="@(ReferenceCopyLocalPaths->'%(FileName)')"> %(Identity) @@ -78,7 +78,7 @@ + Condition="'$(ShouldVerifyTypes)' == 'true' and '$(RuntimeIdentifier)' != ''"> <_runTypesFileNames Include="@(ReferenceCopyLocalPaths->'%(FileName)')"> %(Identity) @@ -129,7 +129,7 @@ _getTestProjects - $(TestDependsOn);ResolveReferences + $(TestDependsOn);ResolveReferences NETStandard.Library.NETFramework 2.0.1-servicing-26011-01 $(NuGetPackageRoot)$(NETStandardSupportPackageId.ToLower())\$(NETStandardSupportPackageVersion)\build - true + true @@ -30,17 +30,17 @@ <_TargetingPackVersion>1.0.1 - <_TargetingPackVersion Condition="'$(TargetingPackNugetPackageId)' == 'Microsoft.TargetingPack.NETFramework.v4.7.1' OR '$(TargetingPackNugetPackageId)' == 'Microsoft.TargetingPack.NETFramework.v4.7.2'">1.0.0 + <_TargetingPackVersion Condition="'$(TargetingPackNugetPackageId)' == 'Microsoft.TargetingPack.NETFramework.v4.7.1' or '$(TargetingPackNugetPackageId)' == 'Microsoft.TargetingPack.NETFramework.v4.7.2'">1.0.0 $(_TargetingPackVersion) - + 4.5.2 - + 4.5.0 @@ -55,7 +55,7 @@ - <_netStandardReference Condition="'$(TargetFramework)' != 'net461' AND '$(TargetFramework)' != 'net462'" + <_netStandardReference Condition="'$(TargetFramework)' != 'net461' and '$(TargetFramework)' != 'net462'" Include="$(NETStandardSupportRoot)\net47\lib\*.dll" Exclude="@(_netStandardReference->'$(NETStandardSupportRoot)\net47\lib\%(FileName).dll')" /> <_netStandardReference Condition="'$(TargetFramework)' != 'net461'" diff --git a/src/libraries/restore/runtime/runtime.depproj b/src/libraries/restore/runtime/runtime.depproj index 3102905a0912bd..1e01986e867155 100644 --- a/src/libraries/restore/runtime/runtime.depproj +++ b/src/libraries/restore/runtime/runtime.depproj @@ -4,7 +4,7 @@ $(ToolRuntimeRID) $(NoWarn);NU1603;NU1605 - true + true @@ -100,7 +100,7 @@ <_CoreLibFilePath>%(_CoreLibFile.FullPath) <_CoreLibPackagePath>$(_CoreLibFilePath.SubString(0, $(_CoreLibFilePath.IndexOf('runtimes')))) - diff --git a/src/libraries/shims/ApiCompat.proj b/src/libraries/shims/ApiCompat.proj index 550c8cd92368a0..6f5a401576e497 100644 --- a/src/libraries/shims/ApiCompat.proj +++ b/src/libraries/shims/ApiCompat.proj @@ -67,7 +67,7 @@ <_netStandard21OnlyRef>$(NetStandard21RefPath)netstandard.dll <_netStandard21OnlyRef Condition="$(UpdateNETStandardBaselineLocally)">$(MSBuildThisFileDirectory)..\..\..\standard\artifacts\bin\ref\netstandard\Debug\netstandard.dll <_netStandard21BaselineModifer>--baseline - <_netStandard21BaselineModifer Condition="$(UpdateNETStandardBaseline) OR $(UpdateNETStandardBaselineLocally)">> + <_netStandard21BaselineModifer Condition="$(UpdateNETStandardBaseline) or $(UpdateNETStandardBaselineLocally)">> diff --git a/src/libraries/shims/Directory.Build.props b/src/libraries/shims/Directory.Build.props index 0dbef56147e0e4..d496b6b11b83cc 100644 --- a/src/libraries/shims/Directory.Build.props +++ b/src/libraries/shims/Directory.Build.props @@ -23,7 +23,7 @@ true - + diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 520fb90c9bca3b..67e553b00fe9dc 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -45,7 +45,7 @@ however since the project names are unique it will essentially force each to run in its own batch -->