diff --git a/Directory.Build.props b/Directory.Build.props
index d862ee091fe81..b9cc1470bb780 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -305,5 +305,6 @@
$(RepositoryEngineeringDir)NoTargetsSdk.BeforeTargets.targets
$(RepositoryEngineeringDir)TraversalSdk.AfterProps.props
+ $(RepositoryEngineeringDir)TraversalSdk.AfterTargets.targets
diff --git a/docs/coding-guidelines/project-guidelines.md b/docs/coding-guidelines/project-guidelines.md
index 5f27836900e25..486a0afd09137 100644
--- a/docs/coding-guidelines/project-guidelines.md
+++ b/docs/coding-guidelines/project-guidelines.md
@@ -22,7 +22,7 @@ Below is a list of all the various options we pivot the project builds on:
## Individual build properties
The following are the properties associated with each build pivot
-- `$(BuildTargetFramework) -> Any .NETCoreApp or .NETFramework TFM, e.g. net5.0`
+- `$(BuildTargetFramework) -> Any .NETCoreApp or .NETFramework TFM, e.g. net7.0`
- `$(TargetOS) -> Windows | Linux | OSX | FreeBSD | [defaults to running OS when empty]`
- `$(Configuration) -> Release | [defaults to Debug when empty]`
- `$(TargetArchitecture) - x86 | x64 | arm | arm64 | [defaults to x64 when empty]`
@@ -37,22 +37,18 @@ Each project will define a set of supported TargetFrameworks
```
-- `$(BuildSettings) -> $(BuildTargetFramework)[-$(TargetOS)][-$(Configuration)][-$(TargetArchitecture)]`
- - Note this property should be file path safe and thus can be used in file names or directories that need to a unique path for a project configuration.
- - The only required Build Settings value is the `$(BuildTargetFramework)` the others are optional.
-
Example:
-Pure netstandard configuration:
+Non cross-targeting project that targets .NETStandard:
```
- netstandard2.0
+ netstandard2.0
```
-All supported targets with unique windows/unix build for netcoreapp:
+A cross-targeting project which targets specific platform with `$(NetCoreAppCurrent)` and one .NETFramework tfm:
```
- $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetFrameworkCurrent)
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetFrameworkMinimum)
```
@@ -61,15 +57,15 @@ All supported targets with unique windows/unix build for netcoreapp:
A full or individual project build is centered around BuildTargetFramework, TargetOS, Configuration and TargetArchitecture.
1. `$(BuildTargetFramework), $(TargetOS), $(Configuration), $(TargetArchitecture)` can individually be passed in to change the default values.
-2. If nothing is passed to the build then we will default value of these properties from the environment. Example: `net5.0-[TargetOS Running On]-Debug-x64`.
-3. While Building an individual project from the VS, we build the project for all latest netcoreapp target frameworks.
+2. If nothing is passed to the build then we will default value of these properties from the environment. Example: `net7.0-[TargetOS Running On]-Debug-x64`.
+3. When building an individual project (either from the CLI or an IDE), all target frameworks are built.
We also have `RuntimeOS` which can be passed to customize the specific OS and version needed for native package builds as well as package restoration. If not passed it will default based on the OS you are running on.
-Any of the mentioned properties can be set via `/p:=` at the command line. When building using our run tool or any of the wrapper scripts around it (i.e. build.cmd) a number of these properties have aliases which make them easier to pass (run build.cmd/sh -? for the aliases).
+Any of the mentioned properties can be set via `/p:=` at the command line. When building using any of the wrapper scripts around it (i.e. build.cmd) a number of these properties have aliases which make them easier to pass (run build.cmd/sh -? for the aliases).
## Selecting the correct BuildSettings
-When building an individual project the `BuildTargetFramework` and `TargetOS` will be used to select the closest matching TargetFramework listed in the projects `TargetFrameworks` property. The rules used to select the targetFramework will consider compatible target frameworks and OS fallbacks.
+When building an individual project the `BuildTargetFramework` and `TargetOS` will be used to select the compatible dependencies which are expressed as ProjectReference items.
## Supported full build settings
- .NET Core latest on current OS (default) -> `$(NetCoreAppCurrent)-[RunningOS]`
@@ -80,37 +76,64 @@ When building an individual project the `BuildTargetFramework` and `TargetOS` wi
## TargetFramework conditions
`TargetFramework` conditions should be avoided in the first PropertyGroup as that causes DesignTimeBuild issues: https://github.com/dotnet/project-system/issues/6143
-1. Use an equality check if the TargetFramework isn't overloaded with the OS portion.
+1. Use TargetFrameworkIdentifier to condition on an entire framework to differentiate between .NETCoreApp, .NETStandard and .NETFramework.
+Example:
+```
+
+ $(NetCoreAppCurrent);netstandard2.0;$(NetFrameworkMinimum)
+
+...
+...
+...
+```
+2. Use equality checks if you want to condition on specific runtime agnostic target frameworks (i.e. without the `-windows` suffix).
Example:
```
- netstandard2.0;netstandard2.1
+ $(NetCoreAppCurrent);netstandard2.0;$(NetFrameworkMinimum)
+...
...
+...
```
-2. Use a StartsWith when you want to test for multiple .NETStandard or .NETFramework versions.
+3. Use the `TargetPlatformIdentifier` property to condition on a .NETCoreApp platform specific target framework. Note that .NETStandard and .NETFramework target frameworks can't be platform specific.
Example:
```
- netstandard2.0;netstandard2.1
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)
+
+...
+...
+```
+Important: In contrast to the old `Targets*` checks, `TargetPlatformIdentifier` conditions apply to a single tfm only, inheritance between target frameworks can't be expressed. See the example below for Unix:
+```
+
+ $(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-android;$(NetCoreAppCurrent)-windows
-...
+
+...
```
-3. Use a StartsWith if the TargetFramework is overloaded with the OS portion.
+4. Set the `TargetPlatformIdentifier` property in the project to be able to condition on it in properties in the project file.
+That is necessary as the SDK sets the `TargetPlatformIdentifier` in a .targets file after the project is evaluated. Because of that, the property isn't available during the project's evaluation and must be set manually.
Example:
```
- netstandard2.0-windows;netstandard2.0-Unix
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-android
+
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);ANDROID_USE_BUFFER
-...
+...
...
```
@@ -119,11 +142,10 @@ Example:
Library projects should use the following directory layout.
```
-src\\src - Contains the source code for the library.
+src\\gen - Contains source code for the assembly's source generator.
src\\ref - Contains any reference assembly projects for the library.
-src\\pkg - Contains package projects for the library.
+src\\src - Contains the source code for the library.
src\\tests - Contains the test code for a library.
-src\\gen - Contains source code for the assembly's source generator.
```
## ref
diff --git a/eng/BeforeTargetFrameworkInference.targets b/eng/BeforeTargetFrameworkInference.targets
index 60b412845483f..70de3444b5893 100644
--- a/eng/BeforeTargetFrameworkInference.targets
+++ b/eng/BeforeTargetFrameworkInference.targets
@@ -1,5 +1,22 @@
-
+
+ true
+ true
+
+
+ 0.0
+
+
+ <_EnableDefaultWindowsPlatform>false
+ <_targetPlatformIdentifier Condition="$(TargetFramework.Contains('-'))">$(TargetFramework.SubString($([MSBuild]::Add($(TargetFramework.IndexOf('-')), 1))))
+
+
+
+ 1.0
+
diff --git a/eng/TraversalSdk.AfterTargets.targets b/eng/TraversalSdk.AfterTargets.targets
new file mode 100644
index 0000000000000..f88c48dc8677d
--- /dev/null
+++ b/eng/TraversalSdk.AfterTargets.targets
@@ -0,0 +1,18 @@
+
+
+
+
+ $(BuildDependsOn);ResolveP2PReferences
+ $(CleanDependsOn);ResolveP2PReferences
+ $(RebuildDependsOn);ResolveP2PReferences
+ $(TestDependsOn);ResolveP2PReferences
+ $(VSTestDependsOn);ResolveP2PReferences
+ $(PackDependsOn);ResolveP2PReferences
+ $(PublishDependsOn);ResolveP2PReferences
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index ae6fdbb597200..05a44e0bf9d7b 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -102,9 +102,9 @@
https://github.com/dotnet/arcade
78eaf78761027d225030be2b28aaf4e8bf392929
-
+
https://github.com/dotnet/arcade
- 78eaf78761027d225030be2b28aaf4e8bf392929
+ ff6cc4e9c3eef575f62a33a642ca80e79d27c9bb
https://github.com/dotnet/arcade
diff --git a/eng/Versions.props b/eng/Versions.props
index e43cb18f09acd..3c0663f6dd162 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -67,7 +67,7 @@
7.0.0-beta.22110.7
7.0.0-beta.22110.7
7.0.0-beta.22110.7
- 7.0.0-beta.22110.7
+ 7.0.0-beta.22111.10
7.0.0-beta.22110.7
7.0.0-beta.22110.7
7.0.0-beta.22110.7
diff --git a/eng/packaging.targets b/eng/packaging.targets
index e705b4e711011..fd2568f5d30cf 100644
--- a/eng/packaging.targets
+++ b/eng/packaging.targets
@@ -10,9 +10,9 @@
AddNETStandardCompatErrorFileForPackaging;IncludeAnalyzersInPackage;$(PackDependsOn)
AddNETStandardCompatErrorFileForPackaging;IncludeAnalyzersInPackage;$(BeforePack)
$(TargetsForTfmSpecificContentInPackage);AddRuntimeSpecificFilesToPackage;IncludeProjectReferencesWithPackAttributeInPackage
- false
+ false
- true
+ true
$(MSBuildThisFileDirectory)useSharedDesignerContext.txt
@@ -101,7 +101,7 @@
DocumentationProjectOutputGroup;
SatelliteDllsProjectOutputGroup;
$(TargetsForTfmSpecificBuildOutput)"
- Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and '$(TargetPlatformIdentifier)' != ''">
+ Condition="'$(TargetPlatformIdentifier)' != ''">
$(TargetDir)$(TargetName).pdb
<_packageTargetRuntime>$(TargetPlatformIdentifier.ToLowerInvariant().Replace('windows', 'win'))
diff --git a/eng/targetframeworksuffix.props b/eng/targetframeworksuffix.props
deleted file mode 100644
index f7074fe3e199f..0000000000000
--- a/eng/targetframeworksuffix.props
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
- true
- true
-
-
- 0.0
- $(TargetFramework.SubString($([MSBuild]::Add($(TargetFramework.IndexOf('-')), 1))))
-
-
-
- 1.0
-
-
-
-
-
- true
-
-
-
-
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
- true
-
-
-
-
- true
-
-
-
-
- true
-
-
-
-
diff --git a/eng/testing/tests.props b/eng/testing/tests.props
index f23f4cc62e956..e91ec1bbcf0e3 100644
--- a/eng/testing/tests.props
+++ b/eng/testing/tests.props
@@ -34,8 +34,8 @@
-
-
+
+
diff --git a/eng/versioning.targets b/eng/versioning.targets
index 4dacec01a8686..37e9eba03cd60 100644
--- a/eng/versioning.targets
+++ b/eng/versioning.targets
@@ -25,8 +25,8 @@
-
- true
+
+ true
@@ -38,16 +38,18 @@
-
+
-
-
-
-
-
+
+
+
+
+
-
+
<_unsupportedOSPlatforms Include="$(UnsupportedOSPlatforms)" />
@@ -85,7 +89,7 @@
-
+
diff --git a/src/libraries/Common/tests/Common.Tests.csproj b/src/libraries/Common/tests/Common.Tests.csproj
index 24841a2dedcf7..0dc2a91ebd82f 100644
--- a/src/libraries/Common/tests/Common.Tests.csproj
+++ b/src/libraries/Common/tests/Common.Tests.csproj
@@ -112,7 +112,7 @@
-
+
-
+
@@ -140,12 +140,12 @@
Link="System\PasteArguments.Unix.cs" />
-
+
-
+
diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props
index 7858515cfc41d..961c33028eab1 100644
--- a/src/libraries/Directory.Build.props
+++ b/src/libraries/Directory.Build.props
@@ -66,7 +66,6 @@
-
diff --git a/src/libraries/Microsoft.CSharp/ref/Microsoft.CSharp.csproj b/src/libraries/Microsoft.CSharp/ref/Microsoft.CSharp.csproj
index 739cd0edbbe8a..eede850861ac6 100644
--- a/src/libraries/Microsoft.CSharp/ref/Microsoft.CSharp.csproj
+++ b/src/libraries/Microsoft.CSharp/ref/Microsoft.CSharp.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj b/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj
index 8f9de151dfdab..b41b3ec1f9321 100644
--- a/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj
+++ b/src/libraries/Microsoft.CSharp/src/Microsoft.CSharp.csproj
@@ -4,14 +4,16 @@
enable
$(NoWarn);nullable
+
- true
- $(DefineConstants);ENABLECOMBINDER
- true
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ true
+ $(DefineConstants);ENABLECOMBINDER
+ true
-
+
diff --git a/src/libraries/Microsoft.Extensions.Hosting.Systemd/src/Microsoft.Extensions.Hosting.Systemd.csproj b/src/libraries/Microsoft.Extensions.Hosting.Systemd/src/Microsoft.Extensions.Hosting.Systemd.csproj
index b9faefd40f2f0..1e2a601e8065f 100644
--- a/src/libraries/Microsoft.Extensions.Hosting.Systemd/src/Microsoft.Extensions.Hosting.Systemd.csproj
+++ b/src/libraries/Microsoft.Extensions.Hosting.Systemd/src/Microsoft.Extensions.Hosting.Systemd.csproj
@@ -10,11 +10,11 @@
true
-
+
-
+
diff --git a/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.targets b/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.targets
index 77a182fa4649a..768d626074be8 100644
--- a/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.targets
+++ b/src/libraries/Microsoft.Extensions.Logging.Abstractions/gen/Microsoft.Extensions.Logging.Generators.targets
@@ -1,7 +1,7 @@
- netstandard2.0
+ netstandard2.0
$(MSBuildThisFileName)
$(MSBuildThisFileName)
SR
diff --git a/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.csproj b/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.csproj
index 7eba5c85af492..e2aa9431990aa 100644
--- a/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.csproj
+++ b/src/libraries/Microsoft.VisualBasic.Core/ref/Microsoft.VisualBasic.Core.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj
index cdc18e0dd4391..060ab1a99b1a7 100644
--- a/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj
+++ b/src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj
@@ -9,19 +9,21 @@
Binary
42025
$(DefineConstants),LATEBINDING=True
- $(DefineConstants),TARGET_WINDOWS=True
$(NoWarn),CA1052,CA1810,CA2200
- $(NoWarn);CA1823
Microsoft.VisualBasic.Core
false
$(NetCoreAppCurrent);$(NetCoreAppCurrent)-windows
+
- $(MSBuildProjectDirectory)\ILLink\ILLink.Descriptors.Windows.xml
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(MSBuildProjectDirectory)\ILLink\ILLink.Descriptors.Windows.xml
+ $(DefineConstants),TARGET_WINDOWS=True
+ $(NoWarn);CA1823
-
+
diff --git a/src/libraries/Microsoft.Win32.Primitives/ref/Microsoft.Win32.Primitives.csproj b/src/libraries/Microsoft.Win32.Primitives/ref/Microsoft.Win32.Primitives.csproj
index 8a722c2adb533..553bc7bf128eb 100644
--- a/src/libraries/Microsoft.Win32.Primitives/ref/Microsoft.Win32.Primitives.csproj
+++ b/src/libraries/Microsoft.Win32.Primitives/ref/Microsoft.Win32.Primitives.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj b/src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
+++ b/src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj b/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj
index 506507556b443..a86ab3b729f43 100644
--- a/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj
+++ b/src/libraries/Microsoft.Win32.Registry.AccessControl/src/Microsoft.Win32.Registry.AccessControl.csproj
@@ -14,12 +14,12 @@ System.Security.AccessControl.RegistrySecurity
- SR.PlatformNotSupported_RegistryAccessControl
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
true
+ SR.PlatformNotSupported_RegistryAccessControl
-
+
diff --git a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj
index 8d2c8aaa1e1b1..95230a12da938 100644
--- a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj
+++ b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 d130810058032..82bd810903999 100644
--- a/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj
+++ b/src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj
@@ -8,7 +8,9 @@
- $(NoWarn);CA1823
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+
+ $(NoWarn);CA1823
-
+
-
+
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 86e6af7fdab5b..09adc148feb5f 100644
--- a/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj
+++ b/src/libraries/Microsoft.Win32.SystemEvents/src/Microsoft.Win32.SystemEvents.csproj
@@ -12,13 +12,14 @@ Microsoft.Win32.SystemEvents
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
$(DefineConstants);FEATURE_CER
true
- SR.PlatformNotSupported_SystemEvents
+ SR.PlatformNotSupported_SystemEvents
-
+
..\..\System.Private.Xml\src\Resources\Strings.resx
FxResources.$(AssemblyName.Replace('-', '_')).SR
Exe
- netstandard2.0
+ netstandard2.0
false
true
$(MSBuildProjectName)
diff --git a/src/libraries/System.AppContext/ref/System.AppContext.csproj b/src/libraries/System.AppContext/ref/System.AppContext.csproj
index 55b863d4d48ed..0d19d92c18f17 100644
--- a/src/libraries/System.AppContext/ref/System.AppContext.csproj
+++ b/src/libraries/System.AppContext/ref/System.AppContext.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.AppContext/src/System.AppContext.csproj b/src/libraries/System.AppContext/src/System.AppContext.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.AppContext/src/System.AppContext.csproj
+++ b/src/libraries/System.AppContext/src/System.AppContext.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Buffers/ref/System.Buffers.csproj b/src/libraries/System.Buffers/ref/System.Buffers.csproj
index 86924bfc712a3..7d42c1fc58bee 100644
--- a/src/libraries/System.Buffers/ref/System.Buffers.csproj
+++ b/src/libraries/System.Buffers/ref/System.Buffers.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Buffers/src/System.Buffers.csproj b/src/libraries/System.Buffers/src/System.Buffers.csproj
index 7e9aff4eedd4d..fe3825b1c1066 100644
--- a/src/libraries/System.Buffers/src/System.Buffers.csproj
+++ b/src/libraries/System.Buffers/src/System.Buffers.csproj
@@ -3,7 +3,7 @@
true
true
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections.Concurrent/ref/System.Collections.Concurrent.csproj b/src/libraries/System.Collections.Concurrent/ref/System.Collections.Concurrent.csproj
index fb225b25b13d1..c54a6732d9803 100644
--- a/src/libraries/System.Collections.Concurrent/ref/System.Collections.Concurrent.csproj
+++ b/src/libraries/System.Collections.Concurrent/ref/System.Collections.Concurrent.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections.Concurrent/src/System.Collections.Concurrent.csproj b/src/libraries/System.Collections.Concurrent/src/System.Collections.Concurrent.csproj
index 0584d13dbe8e7..00088cbdd4e7e 100644
--- a/src/libraries/System.Collections.Concurrent/src/System.Collections.Concurrent.csproj
+++ b/src/libraries/System.Collections.Concurrent/src/System.Collections.Concurrent.csproj
@@ -2,7 +2,7 @@
true
enable
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
diff --git a/src/libraries/System.Collections.NonGeneric/ref/System.Collections.NonGeneric.csproj b/src/libraries/System.Collections.NonGeneric/ref/System.Collections.NonGeneric.csproj
index 84646e61be004..c73a0c807bf04 100644
--- a/src/libraries/System.Collections.NonGeneric/ref/System.Collections.NonGeneric.csproj
+++ b/src/libraries/System.Collections.NonGeneric/ref/System.Collections.NonGeneric.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
$(NoWarn);0618
enable
diff --git a/src/libraries/System.Collections.NonGeneric/src/System.Collections.NonGeneric.csproj b/src/libraries/System.Collections.NonGeneric/src/System.Collections.NonGeneric.csproj
index 5009669653d11..95df0000154e3 100644
--- a/src/libraries/System.Collections.NonGeneric/src/System.Collections.NonGeneric.csproj
+++ b/src/libraries/System.Collections.NonGeneric/src/System.Collections.NonGeneric.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections.Specialized/ref/System.Collections.Specialized.csproj b/src/libraries/System.Collections.Specialized/ref/System.Collections.Specialized.csproj
index c4211d66d7aec..43b7e5d06dd69 100644
--- a/src/libraries/System.Collections.Specialized/ref/System.Collections.Specialized.csproj
+++ b/src/libraries/System.Collections.Specialized/ref/System.Collections.Specialized.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections.Specialized/src/System.Collections.Specialized.csproj b/src/libraries/System.Collections.Specialized/src/System.Collections.Specialized.csproj
index de6e924bef12a..5fef936424d71 100644
--- a/src/libraries/System.Collections.Specialized/src/System.Collections.Specialized.csproj
+++ b/src/libraries/System.Collections.Specialized/src/System.Collections.Specialized.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections/ref/System.Collections.csproj b/src/libraries/System.Collections/ref/System.Collections.csproj
index 9ab356c812196..92f76098f4e2a 100644
--- a/src/libraries/System.Collections/ref/System.Collections.csproj
+++ b/src/libraries/System.Collections/ref/System.Collections.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Collections/src/System.Collections.csproj b/src/libraries/System.Collections/src/System.Collections.csproj
index 28dd9816dc245..09c90780f7d25 100644
--- a/src/libraries/System.Collections/src/System.Collections.csproj
+++ b/src/libraries/System.Collections/src/System.Collections.csproj
@@ -2,7 +2,7 @@
true
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj b/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj
index 2267869cc4b98..88199b61fc5ee 100644
--- a/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj
+++ b/src/libraries/System.ComponentModel.Annotations/ref/System.ComponentModel.Annotations.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj b/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj
index 9c9dfebee9acc..7c62a82550e8d 100644
--- a/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj
+++ b/src/libraries/System.ComponentModel.Annotations/src/System.ComponentModel.Annotations.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
-
+
@@ -35,7 +35,7 @@
Link="Common\Interop\Unix\Interop.Libraries.cs" />
-
+
Common\Interop\Android\Interop.Logcat.cs
@@ -45,7 +45,7 @@
-
+
@@ -61,7 +61,7 @@
Link="Common\Interop\Unix\Interop.IOErrors.cs" />
-
+
@@ -155,7 +155,7 @@
Link="Common\System\Text\ValueStringBuilder.cs" />
-
+
@@ -232,7 +232,7 @@
-
+
diff --git a/src/libraries/System.Console/tests/System.Console.Tests.csproj b/src/libraries/System.Console/tests/System.Console.Tests.csproj
index 4418da53021a7..076efd2213a00 100644
--- a/src/libraries/System.Console/tests/System.Console.Tests.csproj
+++ b/src/libraries/System.Console/tests/System.Console.Tests.csproj
@@ -39,10 +39,10 @@
Link="%(RecursiveDir)%(Filename)%(Extension)"
CopyToOutputDirectory="PreserveNewest" />
-
+
-
+
$(NoWarn);0618
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Data.Common/src/System.Data.Common.csproj b/src/libraries/System.Data.Common/src/System.Data.Common.csproj
index b836c7f2c8e14..a9ad614630fd3 100644
--- a/src/libraries/System.Data.Common/src/System.Data.Common.csproj
+++ b/src/libraries/System.Data.Common/src/System.Data.Common.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Data.DataSetExtensions/ref/System.Data.DataSetExtensions.csproj b/src/libraries/System.Data.DataSetExtensions/ref/System.Data.DataSetExtensions.csproj
index cedcb0aac6596..ae3518dee7cc7 100644
--- a/src/libraries/System.Data.DataSetExtensions/ref/System.Data.DataSetExtensions.csproj
+++ b/src/libraries/System.Data.DataSetExtensions/ref/System.Data.DataSetExtensions.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Data.DataSetExtensions/src/System.Data.DataSetExtensions.csproj b/src/libraries/System.Data.DataSetExtensions/src/System.Data.DataSetExtensions.csproj
index e5ff6a463dd77..bcb4ad6f1fb83 100644
--- a/src/libraries/System.Data.DataSetExtensions/src/System.Data.DataSetExtensions.csproj
+++ b/src/libraries/System.Data.DataSetExtensions/src/System.Data.DataSetExtensions.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
true
enable
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 d0818649229c5..de391f5ebf36d 100644
--- a/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj
+++ b/src/libraries/System.Data.Odbc/src/System.Data.Odbc.csproj
@@ -20,15 +20,16 @@ System.Data.Odbc.OdbcTransaction
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
true
$(NoWarn);SA1121
- SR.Odbc_PlatformNotSupported
+ SR.Odbc_PlatformNotSupported
-
+
-
+
-
+
-
+
diff --git a/src/libraries/System.Data.Odbc/tests/System.Data.Odbc.Tests.csproj b/src/libraries/System.Data.Odbc/tests/System.Data.Odbc.Tests.csproj
index 3ca325a2f883e..85a15ebe3d241 100644
--- a/src/libraries/System.Data.Odbc/tests/System.Data.Odbc.Tests.csproj
+++ b/src/libraries/System.Data.Odbc/tests/System.Data.Odbc.Tests.csproj
@@ -4,7 +4,8 @@
- $(DefineConstants);TargetsWindows
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);TargetsWindows
@@ -18,28 +19,28 @@
-
+
-
+
-
+
-
+
-
+
-
+
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 ff91576165922..1f83a1ca2948d 100644
--- a/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj
+++ b/src/libraries/System.Data.OleDb/src/System.Data.OleDb.csproj
@@ -26,12 +26,13 @@ System.Data.OleDb.OleDbTransaction
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
true
- SR.PlatformNotSupported_OleDb
+ SR.PlatformNotSupported_OleDb
$(NoWarn);CS0618
-
+
-
+
+
-
-
-
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Contracts/src/System.Diagnostics.Contracts.csproj b/src/libraries/System.Diagnostics.Contracts/src/System.Diagnostics.Contracts.csproj
index dd3dc2940a54b..5ecfe239de6f7 100644
--- a/src/libraries/System.Diagnostics.Contracts/src/System.Diagnostics.Contracts.csproj
+++ b/src/libraries/System.Diagnostics.Contracts/src/System.Diagnostics.Contracts.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Debug/ref/System.Diagnostics.Debug.csproj b/src/libraries/System.Diagnostics.Debug/ref/System.Diagnostics.Debug.csproj
index 1d1a2b817e977..7ae0399d1ab0c 100644
--- a/src/libraries/System.Diagnostics.Debug/ref/System.Diagnostics.Debug.csproj
+++ b/src/libraries/System.Diagnostics.Debug/ref/System.Diagnostics.Debug.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Debug/src/System.Diagnostics.Debug.csproj b/src/libraries/System.Diagnostics.Debug/src/System.Diagnostics.Debug.csproj
index dd3dc2940a54b..5ecfe239de6f7 100644
--- a/src/libraries/System.Diagnostics.Debug/src/System.Diagnostics.Debug.csproj
+++ b/src/libraries/System.Diagnostics.Debug/src/System.Diagnostics.Debug.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/tests/System.Diagnostics.DiagnosticSource.Tests.csproj b/src/libraries/System.Diagnostics.DiagnosticSource/tests/System.Diagnostics.DiagnosticSource.Tests.csproj
index a9191d5aa8289..e57e7a1ccec14 100644
--- a/src/libraries/System.Diagnostics.DiagnosticSource/tests/System.Diagnostics.DiagnosticSource.Tests.csproj
+++ b/src/libraries/System.Diagnostics.DiagnosticSource/tests/System.Diagnostics.DiagnosticSource.Tests.csproj
@@ -6,7 +6,7 @@
$(DefineConstants);MEMORYMARSHAL_SUPPORT
-
+
diff --git a/src/libraries/System.Diagnostics.EventLog/src/Messages/System.Diagnostics.EventLog.Messages.csproj b/src/libraries/System.Diagnostics.EventLog/src/Messages/System.Diagnostics.EventLog.Messages.csproj
index d2ad06b758f4a..56a71b1d27b68 100644
--- a/src/libraries/System.Diagnostics.EventLog/src/Messages/System.Diagnostics.EventLog.Messages.csproj
+++ b/src/libraries/System.Diagnostics.EventLog/src/Messages/System.Diagnostics.EventLog.Messages.csproj
@@ -1,6 +1,6 @@
- netstandard2.0
+ netstandard2.0
EventLogMessages.res
diff --git a/src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj b/src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj
index fd558833ee2df..a97fd6227e0cd 100644
--- a/src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj
+++ b/src/libraries/System.Diagnostics.EventLog/src/System.Diagnostics.EventLog.csproj
@@ -17,11 +17,12 @@ System.Diagnostics.EventLog
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
true
- SR.PlatformNotSupported_EventLog
+ SR.PlatformNotSupported_EventLog
-
+
@@ -151,7 +152,7 @@ System.Diagnostics.EventLog
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj b/src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj
index fae2dee239225..3bc748311c5f6 100644
--- a/src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj
+++ b/src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj
@@ -6,14 +6,15 @@
- SR.DiagnosticsFileVersionInfo_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.DiagnosticsFileVersionInfo_PlatformNotSupported
-
+
-
+
@@ -32,7 +33,7 @@
-
+
@@ -49,7 +50,7 @@
-
+
diff --git a/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj b/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj
index 9b99ef0ab8124..36f5ea370f995 100644
--- a/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj
+++ b/src/libraries/System.Diagnostics.FileVersionInfo/tests/System.Diagnostics.FileVersionInfo.Tests/System.Diagnostics.FileVersionInfo.Tests.csproj
@@ -29,14 +29,14 @@
-
+
-
+
diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/src/System.Diagnostics.PerformanceCounter.csproj b/src/libraries/System.Diagnostics.PerformanceCounter/src/System.Diagnostics.PerformanceCounter.csproj
index f90314643f412..ff0ebc6c35834 100644
--- a/src/libraries/System.Diagnostics.PerformanceCounter/src/System.Diagnostics.PerformanceCounter.csproj
+++ b/src/libraries/System.Diagnostics.PerformanceCounter/src/System.Diagnostics.PerformanceCounter.csproj
@@ -3,7 +3,6 @@
true
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)
$(NoWarn);CA1847
- $(NoWarn);CA1066
annotations
true
Provides the System.Diagnostics.PerformanceCounter class, which allows access to Windows performance counters.
@@ -13,10 +12,12 @@ System.Diagnostics.PerformanceCounter
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(NoWarn);CA1066
true
- SR.PlatformNotSupported_PerfCounters
+ SR.PlatformNotSupported_PerfCounters
-
+
diff --git a/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.csproj b/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.csproj
index e30075373d547..2f392d43da189 100644
--- a/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.csproj
+++ b/src/libraries/System.Diagnostics.Process/ref/System.Diagnostics.Process.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 8a41187ffa5cb..c91e7c693aad7 100644
--- a/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj
+++ b/src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj
@@ -2,17 +2,16 @@
$(DefineConstants);FEATURE_REGISTRY
true
- $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent);$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-MacCatalyst;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-MacCatalyst;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)
enable
-
+
- SR.Process_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.Process_PlatformNotSupported
+ true
-
- true
-
-
+
@@ -44,7 +43,7 @@
-
+
-
-
+ Link="Common\Interop\Windows\kernel32\Interop.DuplicateHandle_SafeFileHandle.cs" />
-
+
@@ -285,15 +282,15 @@
-
+
-
+
-
+
@@ -308,7 +305,7 @@
-
+
@@ -321,17 +318,17 @@
-
+
-
+
-
+
@@ -344,12 +341,12 @@
-
+
-
+
diff --git a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj
index 783e4ad21e9c7..089d4fdeb4dcf 100644
--- a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj
+++ b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj
@@ -1,12 +1,16 @@

true
- $(DefineConstants);TargetsWindows
true
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser
true
true
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);TargetsWindows
+
@@ -37,7 +41,7 @@
-
+
@@ -50,7 +54,7 @@
-
+
diff --git a/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.csproj b/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.csproj
index 35e82eee5e77b..ed8643bdf44e3 100644
--- a/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.csproj
+++ b/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.StackTrace/src/System.Diagnostics.StackTrace.csproj b/src/libraries/System.Diagnostics.StackTrace/src/System.Diagnostics.StackTrace.csproj
index 8cecf8e2327cd..7962381d9d74b 100644
--- a/src/libraries/System.Diagnostics.StackTrace/src/System.Diagnostics.StackTrace.csproj
+++ b/src/libraries/System.Diagnostics.StackTrace/src/System.Diagnostics.StackTrace.csproj
@@ -3,7 +3,7 @@
true
true
enable
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
diff --git a/src/libraries/System.Diagnostics.TextWriterTraceListener/ref/System.Diagnostics.TextWriterTraceListener.csproj b/src/libraries/System.Diagnostics.TextWriterTraceListener/ref/System.Diagnostics.TextWriterTraceListener.csproj
index d83d56c13eb41..7238adfa34574 100644
--- a/src/libraries/System.Diagnostics.TextWriterTraceListener/ref/System.Diagnostics.TextWriterTraceListener.csproj
+++ b/src/libraries/System.Diagnostics.TextWriterTraceListener/ref/System.Diagnostics.TextWriterTraceListener.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.TextWriterTraceListener/src/System.Diagnostics.TextWriterTraceListener.csproj b/src/libraries/System.Diagnostics.TextWriterTraceListener/src/System.Diagnostics.TextWriterTraceListener.csproj
index d179081ce20e3..cf755b59130cf 100644
--- a/src/libraries/System.Diagnostics.TextWriterTraceListener/src/System.Diagnostics.TextWriterTraceListener.csproj
+++ b/src/libraries/System.Diagnostics.TextWriterTraceListener/src/System.Diagnostics.TextWriterTraceListener.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Tools/ref/System.Diagnostics.Tools.csproj b/src/libraries/System.Diagnostics.Tools/ref/System.Diagnostics.Tools.csproj
index d1f6b1fa85868..81fa1ed3e681d 100644
--- a/src/libraries/System.Diagnostics.Tools/ref/System.Diagnostics.Tools.csproj
+++ b/src/libraries/System.Diagnostics.Tools/ref/System.Diagnostics.Tools.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Tools/src/System.Diagnostics.Tools.csproj b/src/libraries/System.Diagnostics.Tools/src/System.Diagnostics.Tools.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Diagnostics.Tools/src/System.Diagnostics.Tools.csproj
+++ b/src/libraries/System.Diagnostics.Tools/src/System.Diagnostics.Tools.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.TraceSource/ref/System.Diagnostics.TraceSource.csproj b/src/libraries/System.Diagnostics.TraceSource/ref/System.Diagnostics.TraceSource.csproj
index a344553052ce6..093d289611fad 100644
--- a/src/libraries/System.Diagnostics.TraceSource/ref/System.Diagnostics.TraceSource.csproj
+++ b/src/libraries/System.Diagnostics.TraceSource/ref/System.Diagnostics.TraceSource.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.TraceSource/src/System.Diagnostics.TraceSource.csproj b/src/libraries/System.Diagnostics.TraceSource/src/System.Diagnostics.TraceSource.csproj
index 7b62f85f073ba..2910efd27197f 100644
--- a/src/libraries/System.Diagnostics.TraceSource/src/System.Diagnostics.TraceSource.csproj
+++ b/src/libraries/System.Diagnostics.TraceSource/src/System.Diagnostics.TraceSource.csproj
@@ -1,7 +1,7 @@
$(DefineConstants);TRACE
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj b/src/libraries/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj
index 4a57f065745ff..b59d58aabfd2d 100644
--- a/src/libraries/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj
+++ b/src/libraries/System.Diagnostics.Tracing/ref/System.Diagnostics.Tracing.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Tracing/src/System.Diagnostics.Tracing.csproj b/src/libraries/System.Diagnostics.Tracing/src/System.Diagnostics.Tracing.csproj
index dd3dc2940a54b..5ecfe239de6f7 100644
--- a/src/libraries/System.Diagnostics.Tracing/src/System.Diagnostics.Tracing.csproj
+++ b/src/libraries/System.Diagnostics.Tracing/src/System.Diagnostics.Tracing.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj b/src/libraries/System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj
index 66eb092dee110..c8f85a372ea7c 100644
--- a/src/libraries/System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj
+++ b/src/libraries/System.Diagnostics.Tracing/tests/System.Diagnostics.Tracing.Tests.csproj
@@ -6,7 +6,7 @@
true
-
+
diff --git a/src/libraries/System.DirectoryServices.AccountManagement/src/System.DirectoryServices.AccountManagement.csproj b/src/libraries/System.DirectoryServices.AccountManagement/src/System.DirectoryServices.AccountManagement.csproj
index b518e6ecd1f3d..8c92ed4fc9ed8 100644
--- a/src/libraries/System.DirectoryServices.AccountManagement/src/System.DirectoryServices.AccountManagement.csproj
+++ b/src/libraries/System.DirectoryServices.AccountManagement/src/System.DirectoryServices.AccountManagement.csproj
@@ -16,9 +16,10 @@
- SR.DirectoryServicesAccountManagement_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.DirectoryServicesAccountManagement_PlatformNotSupported
-
+
@@ -224,7 +225,7 @@
-
+
diff --git a/src/libraries/System.DirectoryServices.Protocols/src/System.DirectoryServices.Protocols.csproj b/src/libraries/System.DirectoryServices.Protocols/src/System.DirectoryServices.Protocols.csproj
index 366ab1b31854d..43c120b0a74a0 100644
--- a/src/libraries/System.DirectoryServices.Protocols/src/System.DirectoryServices.Protocols.csproj
+++ b/src/libraries/System.DirectoryServices.Protocols/src/System.DirectoryServices.Protocols.csproj
@@ -13,9 +13,10 @@
- SR.DirectoryServicesProtocols_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.DirectoryServicesProtocols_PlatformNotSupported
-
+
@@ -52,7 +53,7 @@
Common\Interop\Windows\Interop.BOOL.cs
-
+
@@ -70,7 +71,7 @@
Common\Interop\Windows\Wldap32\Interop.Ber.cs
-
+
@@ -89,12 +90,12 @@
Common\Interop\Linux\OpenLdap\Interop.Ber.cs
-
+
Common\Interop\Linux\Interop.Libraries.cs
-
+
Common\Interop\OSX\Interop.Libraries.cs
@@ -124,7 +125,7 @@
-
+
diff --git a/src/libraries/System.DirectoryServices/src/System.DirectoryServices.csproj b/src/libraries/System.DirectoryServices/src/System.DirectoryServices.csproj
index 9f4bbc7733bed..409bae7e786ba 100644
--- a/src/libraries/System.DirectoryServices/src/System.DirectoryServices.csproj
+++ b/src/libraries/System.DirectoryServices/src/System.DirectoryServices.csproj
@@ -25,9 +25,10 @@ System.DirectoryServices.ActiveDirectory.DomainController
- SR.DirectoryServices_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.DirectoryServices_PlatformNotSupported
-
+
@@ -273,7 +274,7 @@ System.DirectoryServices.ActiveDirectory.DomainController
-
+
diff --git a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj
index 7c86e128ac562..51fee5865b7ad 100644
--- a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj
+++ b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj
@@ -27,11 +27,9 @@
PreserveNewest
-
+
-
-
diff --git a/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj b/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj
index 5a34aa4d3ada0..65731f1d12904 100644
--- a/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj
+++ b/src/libraries/System.Drawing.Common/src/System.Drawing.Common.csproj
@@ -3,7 +3,6 @@
$(DefineConstants);DRAWING_NAMESPACE
true
CS0618
- $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS;FEATURE_SYSTEM_EVENTS
true
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum)-Unix;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)
enable
@@ -23,14 +22,16 @@ Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS;FEATURE_SYSTEM_EVENTS
true
- SR.SystemDrawingCommon_PlatformNotSupported
+ SR.SystemDrawingCommon_PlatformNotSupported
-
+
@@ -201,7 +202,7 @@ Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows
-
+
@@ -331,23 +332,14 @@ Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows
Link="Common\Interop\Windows\User32\Interop.WindowFromDC.cs" />
-
-
-
-
-
-
-
-
-
+
@@ -393,7 +385,7 @@ Unix support is disabled by default. See https://aka.ms/systemdrawingnonwindows
placeholder.ico
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj b/src/libraries/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
index e8328af20cde9..dd2b9b692ad3a 100644
--- a/src/libraries/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
+++ b/src/libraries/System.Drawing.Primitives/src/System.Drawing.Primitives.csproj
@@ -1,10 +1,14 @@

System.Drawing
- $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)
enable
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);FEATURE_WINDOWS_SYSTEM_COLORS
+
@@ -27,7 +31,7 @@
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Dynamic.Runtime/src/System.Dynamic.Runtime.csproj b/src/libraries/System.Dynamic.Runtime/src/System.Dynamic.Runtime.csproj
index 152b87d25dd61..55eadef5a9a79 100644
--- a/src/libraries/System.Dynamic.Runtime/src/System.Dynamic.Runtime.csproj
+++ b/src/libraries/System.Dynamic.Runtime/src/System.Dynamic.Runtime.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Globalization.Calendars/ref/System.Globalization.Calendars.csproj b/src/libraries/System.Globalization.Calendars/ref/System.Globalization.Calendars.csproj
index ca034e36a686c..b53ef51fbacc2 100644
--- a/src/libraries/System.Globalization.Calendars/ref/System.Globalization.Calendars.csproj
+++ b/src/libraries/System.Globalization.Calendars/ref/System.Globalization.Calendars.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Globalization.Calendars/src/System.Globalization.Calendars.csproj b/src/libraries/System.Globalization.Calendars/src/System.Globalization.Calendars.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Globalization.Calendars/src/System.Globalization.Calendars.csproj
+++ b/src/libraries/System.Globalization.Calendars/src/System.Globalization.Calendars.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Globalization.Extensions/ref/System.Globalization.Extensions.csproj b/src/libraries/System.Globalization.Extensions/ref/System.Globalization.Extensions.csproj
index 54c76201458d6..231fb39433fb3 100644
--- a/src/libraries/System.Globalization.Extensions/ref/System.Globalization.Extensions.csproj
+++ b/src/libraries/System.Globalization.Extensions/ref/System.Globalization.Extensions.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Globalization.Extensions/src/System.Globalization.Extensions.csproj b/src/libraries/System.Globalization.Extensions/src/System.Globalization.Extensions.csproj
index 495dad9cebeb7..6beae5c98dbd4 100644
--- a/src/libraries/System.Globalization.Extensions/src/System.Globalization.Extensions.csproj
+++ b/src/libraries/System.Globalization.Extensions/src/System.Globalization.Extensions.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
diff --git a/src/libraries/System.Globalization/ref/System.Globalization.csproj b/src/libraries/System.Globalization/ref/System.Globalization.csproj
index 9a0c64de5b036..5cf1bb07a61ec 100644
--- a/src/libraries/System.Globalization/ref/System.Globalization.csproj
+++ b/src/libraries/System.Globalization/ref/System.Globalization.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Globalization/src/System.Globalization.csproj b/src/libraries/System.Globalization/src/System.Globalization.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Globalization/src/System.Globalization.csproj
+++ b/src/libraries/System.Globalization/src/System.Globalization.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.Compression.Brotli/ref/System.IO.Compression.Brotli.csproj b/src/libraries/System.IO.Compression.Brotli/ref/System.IO.Compression.Brotli.csproj
index bce17a52f8fce..662f5a31b64f5 100644
--- a/src/libraries/System.IO.Compression.Brotli/ref/System.IO.Compression.Brotli.csproj
+++ b/src/libraries/System.IO.Compression.Brotli/ref/System.IO.Compression.Brotli.csproj
@@ -1,7 +1,7 @@
enable
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
diff --git a/src/libraries/System.IO.Compression.Brotli/src/System.IO.Compression.Brotli.csproj b/src/libraries/System.IO.Compression.Brotli/src/System.IO.Compression.Brotli.csproj
index 80ad7a7940bb6..6786fda165831 100644
--- a/src/libraries/System.IO.Compression.Brotli/src/System.IO.Compression.Brotli.csproj
+++ b/src/libraries/System.IO.Compression.Brotli/src/System.IO.Compression.Brotli.csproj
@@ -6,9 +6,10 @@
- SR.IOCompressionBrotli_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.IOCompressionBrotli_PlatformNotSupported
-
+
@@ -26,12 +27,12 @@
Link="Common\Microsoft\Win32\SafeHandles\SafeBrotliHandle.cs" />
-
+
-
+
diff --git a/src/libraries/System.IO.Compression.ZipFile/ref/System.IO.Compression.ZipFile.csproj b/src/libraries/System.IO.Compression.ZipFile/ref/System.IO.Compression.ZipFile.csproj
index 1c175660be30d..a72c3f36f4229 100644
--- a/src/libraries/System.IO.Compression.ZipFile/ref/System.IO.Compression.ZipFile.csproj
+++ b/src/libraries/System.IO.Compression.ZipFile/ref/System.IO.Compression.ZipFile.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.Compression.ZipFile/src/System.IO.Compression.ZipFile.csproj b/src/libraries/System.IO.Compression.ZipFile/src/System.IO.Compression.ZipFile.csproj
index 66827e87964fb..de869f13e9353 100644
--- a/src/libraries/System.IO.Compression.ZipFile/src/System.IO.Compression.ZipFile.csproj
+++ b/src/libraries/System.IO.Compression.ZipFile/src/System.IO.Compression.ZipFile.csproj
@@ -17,7 +17,7 @@
Link="Common\System\IO\PathInternal.CaseSensitivity.cs" />
-
+
-
+
diff --git a/src/libraries/System.IO.Compression/ref/System.IO.Compression.csproj b/src/libraries/System.IO.Compression/ref/System.IO.Compression.csproj
index 8b14159415b7e..ff7cf6d8c3846 100644
--- a/src/libraries/System.IO.Compression/ref/System.IO.Compression.csproj
+++ b/src/libraries/System.IO.Compression/ref/System.IO.Compression.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.Compression/src/System.IO.Compression.csproj b/src/libraries/System.IO.Compression/src/System.IO.Compression.csproj
index 8a33c737f13e6..4d5e69f94d8ab 100644
--- a/src/libraries/System.IO.Compression/src/System.IO.Compression.csproj
+++ b/src/libraries/System.IO.Compression/src/System.IO.Compression.csproj
@@ -44,13 +44,13 @@
Link="Common\System\Threading\Tasks\TaskToApm.cs" />
-
+
-
+
diff --git a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj
index 5aab0ab81639e..da1ac825505ff 100644
--- a/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj
+++ b/src/libraries/System.IO.FileSystem.AccessControl/ref/System.IO.FileSystem.AccessControl.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 e7a90eb3a6eb5..28465e91788be 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
@@ -5,11 +5,12 @@
- true
- SR.PlatformNotSupported_AccessControl
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ true
+ SR.PlatformNotSupported_AccessControl
-
+
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/src/libraries/System.IO.FileSystem.DriveInfo/ref/System.IO.FileSystem.DriveInfo.csproj b/src/libraries/System.IO.FileSystem.DriveInfo/ref/System.IO.FileSystem.DriveInfo.csproj
index 9f6b2e37bcd69..bd014e7f4b1cd 100644
--- a/src/libraries/System.IO.FileSystem.DriveInfo/ref/System.IO.FileSystem.DriveInfo.csproj
+++ b/src/libraries/System.IO.FileSystem.DriveInfo/ref/System.IO.FileSystem.DriveInfo.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.FileSystem.DriveInfo/src/System.IO.FileSystem.DriveInfo.csproj b/src/libraries/System.IO.FileSystem.DriveInfo/src/System.IO.FileSystem.DriveInfo.csproj
index 7cdd5006490a0..686750ba9496f 100644
--- a/src/libraries/System.IO.FileSystem.DriveInfo/src/System.IO.FileSystem.DriveInfo.csproj
+++ b/src/libraries/System.IO.FileSystem.DriveInfo/src/System.IO.FileSystem.DriveInfo.csproj
@@ -19,7 +19,7 @@
-
+
-
+
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser
-
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/src/libraries/System.IO.FileSystem.Primitives/ref/System.IO.FileSystem.Primitives.csproj b/src/libraries/System.IO.FileSystem.Primitives/ref/System.IO.FileSystem.Primitives.csproj
index 31a3c74ddc948..d3418bd9442f3 100644
--- a/src/libraries/System.IO.FileSystem.Primitives/ref/System.IO.FileSystem.Primitives.csproj
+++ b/src/libraries/System.IO.FileSystem.Primitives/ref/System.IO.FileSystem.Primitives.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj b/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj
index 94d0c64013048..36c7cb1bdde2a 100644
--- a/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj
+++ b/src/libraries/System.IO.FileSystem.Primitives/src/System.IO.FileSystem.Primitives.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.csproj b/src/libraries/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.csproj
index 2ee74d6667a9d..d9fca4d4667f2 100644
--- a/src/libraries/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.csproj
+++ b/src/libraries/System.IO.FileSystem.Watcher/ref/System.IO.FileSystem.Watcher.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 f8a57395aa6ef..b31c940615c08 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
@@ -1,14 +1,15 @@

true
- $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent);$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-MacCatalyst;$(NetCoreAppCurrent)-FreeBSD
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-MacCatalyst;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)
enable
- SR.FileSystemWatcher_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.FileSystemWatcher_PlatformNotSupported
-
+
@@ -32,7 +33,7 @@
-
+
-
-
-
-
+
+
-
+
@@ -81,7 +80,7 @@
-
+
@@ -110,7 +109,7 @@
-
+
@@ -126,7 +125,7 @@
-
+
diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj b/src/libraries/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj
index 7bbb9eb5986b7..381f9dfc4e4c9 100644
--- a/src/libraries/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj
+++ b/src/libraries/System.IO.FileSystem.Watcher/tests/System.IO.FileSystem.Watcher.Tests.csproj
@@ -46,15 +46,15 @@
-
+
-
+
-
+
diff --git a/src/libraries/System.IO.FileSystem/ref/System.IO.FileSystem.csproj b/src/libraries/System.IO.FileSystem/ref/System.IO.FileSystem.csproj
index 0ceabbf133b37..cf4cf19f19d05 100644
--- a/src/libraries/System.IO.FileSystem/ref/System.IO.FileSystem.csproj
+++ b/src/libraries/System.IO.FileSystem/ref/System.IO.FileSystem.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj b/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj
index 91447b65b71e6..8d75eca3bbe2b 100644
--- a/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj
+++ b/src/libraries/System.IO.FileSystem/src/System.IO.FileSystem.csproj
@@ -1,7 +1,7 @@

true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj b/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj
index cefda71097791..99230625e3c9d 100644
--- a/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj
+++ b/src/libraries/System.IO.FileSystem/tests/DisabledFileLockingTests/System.IO.FileSystem.DisabledFileLocking.Tests.csproj
@@ -24,7 +24,7 @@
-
+
diff --git a/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj b/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
index 967338535cd01..053c913a45620 100644
--- a/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
+++ b/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
@@ -71,12 +71,12 @@
-
+
-
+
@@ -103,7 +103,7 @@
-
+
diff --git a/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.csproj b/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.csproj
index 39903d836f807..167ebaf32a1f5 100644
--- a/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.csproj
+++ b/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.IsolatedStorage/src/System.IO.IsolatedStorage.csproj b/src/libraries/System.IO.IsolatedStorage/src/System.IO.IsolatedStorage.csproj
index 40664e4864329..025f454662f44 100644
--- a/src/libraries/System.IO.IsolatedStorage/src/System.IO.IsolatedStorage.csproj
+++ b/src/libraries/System.IO.IsolatedStorage/src/System.IO.IsolatedStorage.csproj
@@ -1,12 +1,14 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)
- enable
+ enable
+
- SR.IsolatedStorage_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.IsolatedStorage_PlatformNotSupported
-
+
@@ -18,24 +20,22 @@
-
+
-
+
-
+
+
+
+
-
-
-
-
-
-
+
diff --git a/src/libraries/System.IO.IsolatedStorage/tests/System.IO.IsolatedStorage.Tests.csproj b/src/libraries/System.IO.IsolatedStorage/tests/System.IO.IsolatedStorage.Tests.csproj
index 6f9c8a9719515..b075376fa8bf8 100644
--- a/src/libraries/System.IO.IsolatedStorage/tests/System.IO.IsolatedStorage.Tests.csproj
+++ b/src/libraries/System.IO.IsolatedStorage/tests/System.IO.IsolatedStorage.Tests.csproj
@@ -13,11 +13,11 @@
Link="Internals\Helper.Win32Unix.cs" />
-
+
-
+
diff --git a/src/libraries/System.IO.MemoryMappedFiles/ref/System.IO.MemoryMappedFiles.csproj b/src/libraries/System.IO.MemoryMappedFiles/ref/System.IO.MemoryMappedFiles.csproj
index 328e5db6032a5..06957485174c3 100644
--- a/src/libraries/System.IO.MemoryMappedFiles/ref/System.IO.MemoryMappedFiles.csproj
+++ b/src/libraries/System.IO.MemoryMappedFiles/ref/System.IO.MemoryMappedFiles.csproj
@@ -1,7 +1,7 @@
enable
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
diff --git a/src/libraries/System.IO.MemoryMappedFiles/src/System.IO.MemoryMappedFiles.csproj b/src/libraries/System.IO.MemoryMappedFiles/src/System.IO.MemoryMappedFiles.csproj
index 6285027286b7c..156867fd41bc3 100644
--- a/src/libraries/System.IO.MemoryMappedFiles/src/System.IO.MemoryMappedFiles.csproj
+++ b/src/libraries/System.IO.MemoryMappedFiles/src/System.IO.MemoryMappedFiles.csproj
@@ -22,7 +22,7 @@
-
+
@@ -81,7 +81,7 @@
-
+
-
-
+
+
diff --git a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj
index 685a31dbdf26a..7a5d6dbd57b7f 100644
--- a/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj
+++ b/src/libraries/System.IO.Pipes.AccessControl/ref/System.IO.Pipes.AccessControl.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj b/src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj
index 5e08c91b93806..34382fb608231 100644
--- a/src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj
+++ b/src/libraries/System.IO.Pipes.AccessControl/src/System.IO.Pipes.AccessControl.csproj
@@ -6,14 +6,15 @@
- SR.PlatformNotSupported_AccessControl
- true
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ true
true
+ SR.PlatformNotSupported_AccessControl
- true
+ true
diff --git a/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.csproj b/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.csproj
index bc664b2c29020..adef3b2144fc5 100644
--- a/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.csproj
+++ b/src/libraries/System.IO.Pipes/ref/System.IO.Pipes.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.Pipes/src/System.IO.Pipes.csproj b/src/libraries/System.IO.Pipes/src/System.IO.Pipes.csproj
index 0cf60c20c9a1c..e3e522f09b61f 100644
--- a/src/libraries/System.IO.Pipes/src/System.IO.Pipes.csproj
+++ b/src/libraries/System.IO.Pipes/src/System.IO.Pipes.csproj
@@ -5,11 +5,13 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)
enable
+
- SR.Pipes_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.Pipes_PlatformNotSupported
-
+
@@ -26,7 +28,7 @@
-
+
-
+
-
+
@@ -177,11 +179,11 @@
-
+
-
+
diff --git a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj
index 52ce3056b534d..dcec96f7ec54a 100644
--- a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj
+++ b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj
@@ -10,7 +10,7 @@
-
+
@@ -23,7 +23,7 @@
-
+
@@ -35,7 +35,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 6dc6c00f09d76..67e40c9fef6a6 100644
--- a/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj
+++ b/src/libraries/System.IO.Ports/src/System.IO.Ports.csproj
@@ -14,11 +14,12 @@ System.IO.Ports.SerialPort
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
true
- SR.PlatformNotSupported_IOPorts
+ SR.PlatformNotSupported_IOPorts
-
+
@@ -36,13 +37,12 @@ System.IO.Ports.SerialPort
-
-
+
-
+
@@ -122,7 +122,7 @@ System.IO.Ports.SerialPort
Link="Common\Interop\Windows\Kernel32\Interop.FileOperations.cs" />
-
+
@@ -144,17 +144,17 @@ System.IO.Ports.SerialPort
-
+
-
+
-
+
-
+
diff --git a/src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj b/src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj
index 36756fdbb541d..9a1592778a7dc 100644
--- a/src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj
+++ b/src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj
@@ -109,7 +109,7 @@
-
+
diff --git a/src/libraries/System.IO.UnmanagedMemoryStream/ref/System.IO.UnmanagedMemoryStream.csproj b/src/libraries/System.IO.UnmanagedMemoryStream/ref/System.IO.UnmanagedMemoryStream.csproj
index 0ee67eedafd72..af369779ebac8 100644
--- a/src/libraries/System.IO.UnmanagedMemoryStream/ref/System.IO.UnmanagedMemoryStream.csproj
+++ b/src/libraries/System.IO.UnmanagedMemoryStream/ref/System.IO.UnmanagedMemoryStream.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO.UnmanagedMemoryStream/src/System.IO.UnmanagedMemoryStream.csproj b/src/libraries/System.IO.UnmanagedMemoryStream/src/System.IO.UnmanagedMemoryStream.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.IO.UnmanagedMemoryStream/src/System.IO.UnmanagedMemoryStream.csproj
+++ b/src/libraries/System.IO.UnmanagedMemoryStream/src/System.IO.UnmanagedMemoryStream.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO/ref/System.IO.csproj b/src/libraries/System.IO/ref/System.IO.csproj
index 7439befee6f57..0ea49f44dad2c 100644
--- a/src/libraries/System.IO/ref/System.IO.csproj
+++ b/src/libraries/System.IO/ref/System.IO.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.IO/src/System.IO.csproj b/src/libraries/System.IO/src/System.IO.csproj
index 3b108d6826762..e2eb3417533b6 100644
--- a/src/libraries/System.IO/src/System.IO.csproj
+++ b/src/libraries/System.IO/src/System.IO.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq.Expressions/ref/System.Linq.Expressions.csproj b/src/libraries/System.Linq.Expressions/ref/System.Linq.Expressions.csproj
index 024288147d0b8..8ce6d5b73701a 100644
--- a/src/libraries/System.Linq.Expressions/ref/System.Linq.Expressions.csproj
+++ b/src/libraries/System.Linq.Expressions/ref/System.Linq.Expressions.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
$(NoWarn);CS0618
enable
diff --git a/src/libraries/System.Linq.Expressions/src/System.Linq.Expressions.csproj b/src/libraries/System.Linq.Expressions/src/System.Linq.Expressions.csproj
index dce8fedbf2ac8..fba337b000b6e 100644
--- a/src/libraries/System.Linq.Expressions/src/System.Linq.Expressions.csproj
+++ b/src/libraries/System.Linq.Expressions/src/System.Linq.Expressions.csproj
@@ -3,16 +3,19 @@
$(NetCoreAppCurrent);$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)-MacCatalyst
enable
false
- true
- ILLink\ILLink.Substitutions.IsInterpreting.LibraryBuild.xml
$(DefineConstants);FEATURE_FAST_CREATE
-
+
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ true
+ ILLink\ILLink.Substitutions.IsInterpreting.LibraryBuild.xml
- true
+ true
diff --git a/src/libraries/System.Linq.Parallel/ref/System.Linq.Parallel.csproj b/src/libraries/System.Linq.Parallel/ref/System.Linq.Parallel.csproj
index 02094314ac02e..7f0337a585cf8 100644
--- a/src/libraries/System.Linq.Parallel/ref/System.Linq.Parallel.csproj
+++ b/src/libraries/System.Linq.Parallel/ref/System.Linq.Parallel.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq.Parallel/src/System.Linq.Parallel.csproj b/src/libraries/System.Linq.Parallel/src/System.Linq.Parallel.csproj
index b78dd81e422a9..5d2db8f850ac0 100644
--- a/src/libraries/System.Linq.Parallel/src/System.Linq.Parallel.csproj
+++ b/src/libraries/System.Linq.Parallel/src/System.Linq.Parallel.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq.Queryable/ref/System.Linq.Queryable.csproj b/src/libraries/System.Linq.Queryable/ref/System.Linq.Queryable.csproj
index dc7cc09400acf..ef12af1519ae1 100644
--- a/src/libraries/System.Linq.Queryable/ref/System.Linq.Queryable.csproj
+++ b/src/libraries/System.Linq.Queryable/ref/System.Linq.Queryable.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq.Queryable/src/System.Linq.Queryable.csproj b/src/libraries/System.Linq.Queryable/src/System.Linq.Queryable.csproj
index d3def1d1063a4..0df3e5cb4780d 100644
--- a/src/libraries/System.Linq.Queryable/src/System.Linq.Queryable.csproj
+++ b/src/libraries/System.Linq.Queryable/src/System.Linq.Queryable.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq/ref/System.Linq.csproj b/src/libraries/System.Linq/ref/System.Linq.csproj
index f2c0fd1178a7b..476d2cbc4f0f4 100644
--- a/src/libraries/System.Linq/ref/System.Linq.csproj
+++ b/src/libraries/System.Linq/ref/System.Linq.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Linq/src/System.Linq.csproj b/src/libraries/System.Linq/src/System.Linq.csproj
index 4126dfb64148c..508041619b3d4 100644
--- a/src/libraries/System.Linq/src/System.Linq.csproj
+++ b/src/libraries/System.Linq/src/System.Linq.csproj
@@ -2,7 +2,11 @@
$(NetCoreAppCurrent);$(NetCoreAppCurrent)-Browser;$(NetCoreAppCurrent)-Android;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS
enable
- true
+
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ true
diff --git a/src/libraries/System.Management/src/System.Management.csproj b/src/libraries/System.Management/src/System.Management.csproj
index e64ebcf61db51..7f530935c20b4 100644
--- a/src/libraries/System.Management/src/System.Management.csproj
+++ b/src/libraries/System.Management/src/System.Management.csproj
@@ -20,9 +20,10 @@ System.Management.SelectQuery
- SR.PlatformNotSupported_SystemManagement
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.PlatformNotSupported_SystemManagement
-
+
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Memory/src/System.Memory.csproj b/src/libraries/System.Memory/src/System.Memory.csproj
index b9f9e1e818f11..f11858f7e2f87 100644
--- a/src/libraries/System.Memory/src/System.Memory.csproj
+++ b/src/libraries/System.Memory/src/System.Memory.csproj
@@ -3,7 +3,7 @@
true
true
enable
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
$(DefineConstants);MAKE_ABW_PUBLIC
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 41d016898b1a2..e1aa13b7c867c 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
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.1;netstandard2.0;$(NetFrameworkMinimum)
+ $(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)
true
enable
true
@@ -13,11 +13,11 @@ System.Net.Http.WinHttpHandler
- SR.PlatformNotSupported_WinHttpHandler
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.PlatformNotSupported_WinHttpHandler
-
+
Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
-
+
@@ -135,7 +135,7 @@ System.Net.Http.WinHttpHandler
-
+
diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj b/src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj
index 381230d2a9bc3..e9d68fbff06ef 100644
--- a/src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj
+++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/UnitTests/System.Net.Http.WinHttpHandler.Unit.Tests.csproj
@@ -11,7 +11,7 @@
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 0792ba26c0551..41a0065fa038d 100644
--- a/src/libraries/System.Net.Http/src/System.Net.Http.csproj
+++ b/src/libraries/System.Net.Http/src/System.Net.Http.csproj
@@ -6,41 +6,26 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)-MacCatalyst;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)-Browser;$(NetCoreAppCurrent)-illumos;$(NetCoreAppCurrent)-Solaris;$(NetCoreAppCurrent)-Android;$(NetCoreAppCurrent)
enable
-
- $(DefineConstants);SYSNETHTTP_NO_OPENSSL
-
-
- $(DefineConstants);TARGET_MOBILE
-
-
- $(DefineConstants);TARGET_ANDROID
-
-
- $(DefineConstants);TARGET_IOS
-
-
- $(DefineConstants);TARGET_MACCATALYST
-
-
- $(DefineConstants);TARGET_TVOS
-
-
- $(DefineConstants);TARGET_BROWSER
-
-
-
- $(MSBuildThisFileDirectory)ILLink\
-
$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
SR.PlatformNotSupported_NetHttp
+ $(DefineConstants);SYSNETHTTP_NO_OPENSSL
+ $(DefineConstants);TARGET_MOBILE
+ $(DefineConstants);TARGET_ANDROID
+ $(DefineConstants);TARGET_IOS
+ $(DefineConstants);TARGET_MACCATALYST
+ $(DefineConstants);TARGET_TVOS
+ $(DefineConstants);TARGET_BROWSER
+
+ $(MSBuildThisFileDirectory)ILLink\
-
-
+
+
+
+
@@ -60,11 +45,11 @@
-
-
-
@@ -165,7 +150,7 @@
Link="Common\System\Net\Http\aspnetcore\Http3\QPack\H3StaticTable.cs" />
-
+
@@ -173,7 +158,7 @@
-
+
@@ -222,7 +207,7 @@
-
@@ -332,17 +317,17 @@
-
+
-
+
-
+
@@ -361,7 +346,7 @@
-
+
-
+
-
+
-
+
-
+
@@ -532,7 +517,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
index 1b4a5aa376923..f8d30de1f7b0d 100644
--- a/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
+++ b/src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
@@ -1,8 +1,6 @@

../../src/Resources/Strings.resx
- $(DefineConstants);TargetsWindows
- $(DefineConstants);TARGETS_BROWSER
$(DefineConstants);SYSNETHTTP_NO_OPENSSL;HTTP3
true
true
@@ -10,6 +8,13 @@
true
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);TargetsWindows
+ $(DefineConstants);TARGETS_BROWSER
+
+
@@ -34,13 +39,13 @@
-
-
@@ -68,9 +73,9 @@
Link="Common\System\Net\HttpsTestServer.cs" />
-
-
@@ -162,7 +167,7 @@
-
@@ -209,7 +214,7 @@
Link="ProductionCode\Common\System\Net\StreamBuffer.cs" />
-
+
-
+
-
+
diff --git a/src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj b/src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj
index f676e0381bd1f..0ad988c4e5415 100644
--- a/src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj
+++ b/src/libraries/System.Net.Http/tests/UnitTests/System.Net.Http.Unit.Tests.csproj
@@ -233,26 +233,26 @@
Link="ProductionCode\System\Net\Http\SocketsHttpHandler\RuntimeSettingParser.cs" />
-
-
-
-
-
-
+
diff --git a/src/libraries/System.Net.HttpListener/ref/System.Net.HttpListener.csproj b/src/libraries/System.Net.HttpListener/ref/System.Net.HttpListener.csproj
index 00bc53369a021..470e002db2317 100644
--- a/src/libraries/System.Net.HttpListener/ref/System.Net.HttpListener.csproj
+++ b/src/libraries/System.Net.HttpListener/ref/System.Net.HttpListener.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 1da319175f0d2..f50c50e9eed6c 100644
--- a/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj
+++ b/src/libraries/System.Net.HttpListener/src/System.Net.HttpListener.csproj
@@ -4,7 +4,11 @@
false
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)
enable
- SR.SystemNetHttpListener_PlatformNotSupported
+
+
+
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetHttpListener_PlatformNotSupported
@@ -35,7 +39,7 @@
-
+
@@ -87,7 +91,7 @@
-
+
@@ -251,7 +255,7 @@
-
+
diff --git a/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj b/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj
index 99ae2fb8049c9..119925b1b0e21 100644
--- a/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj
+++ b/src/libraries/System.Net.Mail/ref/System.Net.Mail.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj
index c80216d012cb2..d73fe7a77ce48 100644
--- a/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj
+++ b/src/libraries/System.Net.Mail/src/System.Net.Mail.csproj
@@ -3,12 +3,12 @@
true
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Browser;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)
enable
- $(DefineConstants);NO_NTAUTHENTICATION
$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
SR.PlatformNotSupported_NetMail
+ $(DefineConstants);NO_NTAUTHENTICATION
@@ -78,12 +78,12 @@
Link="Common\System\HexConverter.cs" />
-
+
-
+
@@ -119,7 +119,7 @@
-
+
-
+
-
+
-
+
-
+
@@ -148,7 +148,7 @@
Link="Common\System\HexConverter.cs" />
-
+
-
+
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj b/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj
index 250bc924fbd89..31a4fa7072e4b 100644
--- a/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj
+++ b/src/libraries/System.Net.NameResolution/src/System.Net.NameResolution.csproj
@@ -8,7 +8,7 @@
$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
SR.SystemNetNameResolution_PlatformNotSupported
- ExcludeApiList.PNSE.Browser.txt
+ ExcludeApiList.PNSE.Browser.txt
@@ -36,7 +36,7 @@
-
+
-
+
@@ -109,7 +109,7 @@
-
+
diff --git a/src/libraries/System.Net.NameResolution/tests/PalTests/System.Net.NameResolution.Pal.Tests.csproj b/src/libraries/System.Net.NameResolution/tests/PalTests/System.Net.NameResolution.Pal.Tests.csproj
index 7adb69687b6b8..13bdf57acf38f 100644
--- a/src/libraries/System.Net.NameResolution/tests/PalTests/System.Net.NameResolution.Pal.Tests.csproj
+++ b/src/libraries/System.Net.NameResolution/tests/PalTests/System.Net.NameResolution.Pal.Tests.csproj
@@ -21,9 +21,9 @@
-
-
@@ -36,7 +36,7 @@
-
+
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 66bcfce21b428..4a0125314b19e 100644
--- a/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj
+++ b/src/libraries/System.Net.NetworkInformation/src/System.Net.NetworkInformation.csproj
@@ -4,10 +4,12 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-Android;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)-illumos;$(NetCoreAppCurrent)-Solaris;$(NetCoreAppCurrent)
enable
+
- SR.SystemNetNetworkInformation_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetNetworkInformation_PlatformNotSupported
-
+
@@ -26,7 +28,7 @@
-
+
@@ -52,7 +54,7 @@
-
+
@@ -97,7 +99,7 @@
-
+
@@ -121,7 +123,7 @@
-
+
@@ -147,7 +149,7 @@
-
+
@@ -158,7 +160,7 @@
-
+
@@ -177,7 +179,7 @@
-
+
@@ -186,15 +188,15 @@
-
+
-
+
-
+
@@ -217,11 +219,11 @@
-
+
-
+
diff --git a/src/libraries/System.Net.Ping/ref/System.Net.Ping.csproj b/src/libraries/System.Net.Ping/ref/System.Net.Ping.csproj
index b91f82444f42e..3a766d263145e 100644
--- a/src/libraries/System.Net.Ping/ref/System.Net.Ping.csproj
+++ b/src/libraries/System.Net.Ping/ref/System.Net.Ping.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.Ping/src/System.Net.Ping.csproj b/src/libraries/System.Net.Ping/src/System.Net.Ping.csproj
index 206fe170799c1..076d8bcd974b5 100644
--- a/src/libraries/System.Net.Ping/src/System.Net.Ping.csproj
+++ b/src/libraries/System.Net.Ping/src/System.Net.Ping.csproj
@@ -4,11 +4,13 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)
enable
+
- SR.SystemNetPing_PlatformNotSupported
- true
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetPing_PlatformNotSupported
+ true
-
+
@@ -37,7 +39,7 @@
-
+
@@ -68,14 +70,14 @@
-
+
-
+
-
+
-
+
diff --git a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.csproj b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.csproj
index da2cdd8e41a4e..a52552a435c7a 100644
--- a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.csproj
+++ b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.Primitives/src/System.Net.Primitives.csproj b/src/libraries/System.Net.Primitives/src/System.Net.Primitives.csproj
index cbb369186fa27..3c17ba5634a47 100644
--- a/src/libraries/System.Net.Primitives/src/System.Net.Primitives.csproj
+++ b/src/libraries/System.Net.Primitives/src/System.Net.Primitives.csproj
@@ -87,7 +87,7 @@
-
+
@@ -110,7 +110,7 @@
-
+
@@ -125,7 +125,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
false
diff --git a/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj b/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj
index 31e565288099d..12bcced0a5f97 100644
--- a/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj
+++ b/src/libraries/System.Net.Quic/src/System.Net.Quic.csproj
@@ -3,14 +3,15 @@
true
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Linux;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-FreeBSD;$(NetCoreAppCurrent)
enable
- $(DefineConstants);SOCKADDR_HAS_LENGTH
- SR.SystemNetQuic_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ $(DefineConstants);SOCKADDR_HAS_LENGTH
+ SR.SystemNetQuic_PlatformNotSupported
-
+
@@ -30,9 +31,7 @@
Common\DisableRuntimeMarshalling.cs
-
-
-
+
@@ -40,7 +39,7 @@
-
+
@@ -56,7 +55,7 @@
-
+
@@ -82,20 +81,20 @@
-
+
-
+
-
+
@@ -130,13 +129,13 @@
-
+
-
diff --git a/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj b/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj
index 78b1a6fa04b1d..36d4f9a3d0353 100644
--- a/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj
+++ b/src/libraries/System.Net.Requests/ref/System.Net.Requests.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
$(NoWarn);CS0809;SYSLIB0014
enable
diff --git a/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj b/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj
index fabcc644d972a..d2c9530d5f6bd 100644
--- a/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj
+++ b/src/libraries/System.Net.Requests/src/System.Net.Requests.csproj
@@ -78,20 +78,19 @@
-
+
-
+
-
@@ -110,6 +109,7 @@
+
diff --git a/src/libraries/System.Net.Security/ref/System.Net.Security.csproj b/src/libraries/System.Net.Security/ref/System.Net.Security.csproj
index f5519a69b6028..9c747a8b91e28 100644
--- a/src/libraries/System.Net.Security/ref/System.Net.Security.csproj
+++ b/src/libraries/System.Net.Security/ref/System.Net.Security.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
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 a71d01bc0b794..b33246299b9da 100644
--- a/src/libraries/System.Net.Security/src/System.Net.Security.csproj
+++ b/src/libraries/System.Net.Security/src/System.Net.Security.csproj
@@ -4,20 +4,18 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)-Android;$(NetCoreAppCurrent)-OSX;$(NetCoreAppCurrent)-iOS;$(NetCoreAppCurrent)-tvOS;$(NetCoreAppCurrent)
$(DefineConstants);PRODUCT
- $(DefineConstants);TARGET_WINDOWS
enable
+
- SR.SystemNetSecurity_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetSecurity_PlatformNotSupported
+ $(DefineConstants);TARGET_WINDOWS
+ true
+ true
+ $(DefineConstants);SYSNETSECURITY_NO_OPENSSL
-
- true
- true
-
-
- $(DefineConstants);SYSNETSECURITY_NO_OPENSSL
-
-
+
@@ -100,7 +98,7 @@
-
+
True
True
@@ -108,14 +106,14 @@
-
+
True
True
TlsCipherSuiteData.Lookup.tt
-
+
True
True
@@ -136,7 +134,7 @@
-
+
@@ -240,7 +238,7 @@
-
+
-
+
-
+
-
+
@@ -433,7 +431,7 @@
-
+
diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj
index 72ef0e0c58132..8f2d6f40e17ef 100644
--- a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj
+++ b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj
@@ -10,7 +10,7 @@
-
+
@@ -107,18 +107,18 @@
-
+
-
+
-
+
diff --git a/src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj b/src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj
index 46056c9b64f28..0fd7b6b55f481 100644
--- a/src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj
+++ b/src/libraries/System.Net.Security/tests/UnitTests/System.Net.Security.Unit.Tests.csproj
@@ -17,11 +17,11 @@
-
+
-
+
@@ -38,7 +38,7 @@
-
+
diff --git a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj b/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj
index 8041ebea6f80e..a7b78ca9ecacf 100644
--- a/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj
+++ b/src/libraries/System.Net.ServicePoint/ref/System.Net.ServicePoint.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj b/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj
index b67c9ae2f0d41..659e23ec47d3e 100644
--- a/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj
+++ b/src/libraries/System.Net.ServicePoint/src/System.Net.ServicePoint.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.Sockets/ref/System.Net.Sockets.csproj b/src/libraries/System.Net.Sockets/ref/System.Net.Sockets.csproj
index 9387aa994199f..0ca0235e6ca78 100644
--- a/src/libraries/System.Net.Sockets/ref/System.Net.Sockets.csproj
+++ b/src/libraries/System.Net.Sockets/ref/System.Net.Sockets.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.Sockets/src/System.Net.Sockets.csproj b/src/libraries/System.Net.Sockets/src/System.Net.Sockets.csproj
index a437542c5ffe1..4f2f27f215d0a 100644
--- a/src/libraries/System.Net.Sockets/src/System.Net.Sockets.csproj
+++ b/src/libraries/System.Net.Sockets/src/System.Net.Sockets.csproj
@@ -4,15 +4,17 @@
$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix;$(NetCoreAppCurrent)
enable
+
- SR.SystemNetSockets_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetSockets_PlatformNotSupported
$(DefineConstants);SYSTEM_NET_SOCKETS_DLL
-
+
@@ -86,7 +88,7 @@
-
+
@@ -177,7 +179,7 @@
-
+
@@ -297,7 +299,7 @@
-
+
diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj b/src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj
index 63e0987f7ac1a..1d3155798c4f0 100644
--- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj
+++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj
@@ -19,7 +19,7 @@
-
+
diff --git a/src/libraries/System.Net.WebClient/ref/System.Net.WebClient.csproj b/src/libraries/System.Net.WebClient/ref/System.Net.WebClient.csproj
index 9174f98458448..732d3211ae524 100644
--- a/src/libraries/System.Net.WebClient/ref/System.Net.WebClient.csproj
+++ b/src/libraries/System.Net.WebClient/ref/System.Net.WebClient.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.WebClient/src/System.Net.WebClient.csproj b/src/libraries/System.Net.WebClient/src/System.Net.WebClient.csproj
index 48a1a9c82537c..c317fabee22bd 100644
--- a/src/libraries/System.Net.WebClient/src/System.Net.WebClient.csproj
+++ b/src/libraries/System.Net.WebClient/src/System.Net.WebClient.csproj
@@ -5,9 +5,10 @@
enable
- SR.SystemNetWebClient_PlatformNotSupported
+ $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))
+ SR.SystemNetWebClient_PlatformNotSupported
-
+
diff --git a/src/libraries/System.Net.WebHeaderCollection/ref/System.Net.WebHeaderCollection.csproj b/src/libraries/System.Net.WebHeaderCollection/ref/System.Net.WebHeaderCollection.csproj
index f072606731162..6c776532e3676 100644
--- a/src/libraries/System.Net.WebHeaderCollection/ref/System.Net.WebHeaderCollection.csproj
+++ b/src/libraries/System.Net.WebHeaderCollection/ref/System.Net.WebHeaderCollection.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
$(NoWarn);CS8765
diff --git a/src/libraries/System.Net.WebHeaderCollection/src/System.Net.WebHeaderCollection.csproj b/src/libraries/System.Net.WebHeaderCollection/src/System.Net.WebHeaderCollection.csproj
index d52760c4c646b..ccec383b56f75 100644
--- a/src/libraries/System.Net.WebHeaderCollection/src/System.Net.WebHeaderCollection.csproj
+++ b/src/libraries/System.Net.WebHeaderCollection/src/System.Net.WebHeaderCollection.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.WebProxy/ref/System.Net.WebProxy.csproj b/src/libraries/System.Net.WebProxy/ref/System.Net.WebProxy.csproj
index 43de764895500..7fe0be4f8c5c8 100644
--- a/src/libraries/System.Net.WebProxy/ref/System.Net.WebProxy.csproj
+++ b/src/libraries/System.Net.WebProxy/ref/System.Net.WebProxy.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.WebProxy/src/System.Net.WebProxy.csproj b/src/libraries/System.Net.WebProxy/src/System.Net.WebProxy.csproj
index 5fd9532a47b37..e77de26b82c9f 100644
--- a/src/libraries/System.Net.WebProxy/src/System.Net.WebProxy.csproj
+++ b/src/libraries/System.Net.WebProxy/src/System.Net.WebProxy.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/libraries/System.Net.WebSockets.Client/ref/System.Net.WebSockets.Client.csproj b/src/libraries/System.Net.WebSockets.Client/ref/System.Net.WebSockets.Client.csproj
index 7f5666d306484..7793983c080b9 100644
--- a/src/libraries/System.Net.WebSockets.Client/ref/System.Net.WebSockets.Client.csproj
+++ b/src/libraries/System.Net.WebSockets.Client/ref/System.Net.WebSockets.Client.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.WebSockets.Client/src/System.Net.WebSockets.Client.csproj b/src/libraries/System.Net.WebSockets.Client/src/System.Net.WebSockets.Client.csproj
index 946ab8f773bdf..79fdea54f1fdd 100644
--- a/src/libraries/System.Net.WebSockets.Client/src/System.Net.WebSockets.Client.csproj
+++ b/src/libraries/System.Net.WebSockets.Client/src/System.Net.WebSockets.Client.csproj
@@ -7,15 +7,15 @@
-
+
-
+
-
+
@@ -36,10 +36,10 @@
-
+
-
+
diff --git a/src/libraries/System.Net.WebSockets/ref/System.Net.WebSockets.csproj b/src/libraries/System.Net.WebSockets/ref/System.Net.WebSockets.csproj
index 134ea19cd36e5..3f0cf3c821162 100644
--- a/src/libraries/System.Net.WebSockets/ref/System.Net.WebSockets.csproj
+++ b/src/libraries/System.Net.WebSockets/ref/System.Net.WebSockets.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Net.WebSockets/src/System.Net.WebSockets.csproj b/src/libraries/System.Net.WebSockets/src/System.Net.WebSockets.csproj
index 9f2c2cc09cdaf..f19710a066037 100644
--- a/src/libraries/System.Net.WebSockets/src/System.Net.WebSockets.csproj
+++ b/src/libraries/System.Net.WebSockets/src/System.Net.WebSockets.csproj
@@ -36,12 +36,12 @@
Link="Common\Interop\Interop.zlib.cs" />
-
+
-
+
diff --git a/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj b/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
index 42ba04da8db71..05a66d765113a 100644
--- a/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
+++ b/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj b/src/libraries/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj
+++ b/src/libraries/System.Numerics.Vectors/src/System.Numerics.Vectors.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.ObjectModel/ref/System.ObjectModel.csproj b/src/libraries/System.ObjectModel/ref/System.ObjectModel.csproj
index 623c85ec55670..76645a7f2ed38 100644
--- a/src/libraries/System.ObjectModel/ref/System.ObjectModel.csproj
+++ b/src/libraries/System.ObjectModel/ref/System.ObjectModel.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.ObjectModel/src/System.ObjectModel.csproj b/src/libraries/System.ObjectModel/src/System.ObjectModel.csproj
index ecf4f2a77fe9e..58f389a265912 100644
--- a/src/libraries/System.ObjectModel/src/System.ObjectModel.csproj
+++ b/src/libraries/System.ObjectModel/src/System.ObjectModel.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Private.DataContractSerialization/src/System.Private.DataContractSerialization.csproj b/src/libraries/System.Private.DataContractSerialization/src/System.Private.DataContractSerialization.csproj
index 57474c6e2464b..1e407a2091bc0 100644
--- a/src/libraries/System.Private.DataContractSerialization/src/System.Private.DataContractSerialization.csproj
+++ b/src/libraries/System.Private.DataContractSerialization/src/System.Private.DataContractSerialization.csproj
@@ -2,7 +2,7 @@
$(NoWarn);1634;1691;649
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
false
enable
diff --git a/src/libraries/System.Private.Uri/src/System.Private.Uri.csproj b/src/libraries/System.Private.Uri/src/System.Private.Uri.csproj
index ce5a97d87051b..7e19a856a103e 100644
--- a/src/libraries/System.Private.Uri/src/System.Private.Uri.csproj
+++ b/src/libraries/System.Private.Uri/src/System.Private.Uri.csproj
@@ -37,10 +37,10 @@
-
+
-
+
diff --git a/src/libraries/System.Private.Xml.Linq/src/System.Private.Xml.Linq.csproj b/src/libraries/System.Private.Xml.Linq/src/System.Private.Xml.Linq.csproj
index a174b927459d7..7c5de0f140e78 100644
--- a/src/libraries/System.Private.Xml.Linq/src/System.Private.Xml.Linq.csproj
+++ b/src/libraries/System.Private.Xml.Linq/src/System.Private.Xml.Linq.csproj
@@ -1,7 +1,7 @@
System.Xml
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Private.Xml/src/System.Private.Xml.csproj b/src/libraries/System.Private.Xml/src/System.Private.Xml.csproj
index 613e07f835e94..091753a1dbb92 100644
--- a/src/libraries/System.Private.Xml/src/System.Private.Xml.csproj
+++ b/src/libraries/System.Private.Xml/src/System.Private.Xml.csproj
@@ -779,10 +779,10 @@
-
+
-
+
diff --git a/src/libraries/System.Reflection.DispatchProxy/ref/System.Reflection.DispatchProxy.csproj b/src/libraries/System.Reflection.DispatchProxy/ref/System.Reflection.DispatchProxy.csproj
index 2759e12af1204..6039cbc7d5e26 100644
--- a/src/libraries/System.Reflection.DispatchProxy/ref/System.Reflection.DispatchProxy.csproj
+++ b/src/libraries/System.Reflection.DispatchProxy/ref/System.Reflection.DispatchProxy.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.DispatchProxy/src/System.Reflection.DispatchProxy.csproj b/src/libraries/System.Reflection.DispatchProxy/src/System.Reflection.DispatchProxy.csproj
index babd7f14e4ed6..4fd66210d47ef 100644
--- a/src/libraries/System.Reflection.DispatchProxy/src/System.Reflection.DispatchProxy.csproj
+++ b/src/libraries/System.Reflection.DispatchProxy/src/System.Reflection.DispatchProxy.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.csproj b/src/libraries/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.csproj
index 48837d6105f25..709b299efec00 100644
--- a/src/libraries/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.csproj
+++ b/src/libraries/System.Reflection.Emit.ILGeneration/ref/System.Reflection.Emit.ILGeneration.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.Emit.ILGeneration/src/System.Reflection.Emit.ILGeneration.csproj b/src/libraries/System.Reflection.Emit.ILGeneration/src/System.Reflection.Emit.ILGeneration.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Reflection.Emit.ILGeneration/src/System.Reflection.Emit.ILGeneration.csproj
+++ b/src/libraries/System.Reflection.Emit.ILGeneration/src/System.Reflection.Emit.ILGeneration.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.Emit.Lightweight/ref/System.Reflection.Emit.Lightweight.csproj b/src/libraries/System.Reflection.Emit.Lightweight/ref/System.Reflection.Emit.Lightweight.csproj
index f5ee53a8ae064..5c26ae3990a1e 100644
--- a/src/libraries/System.Reflection.Emit.Lightweight/ref/System.Reflection.Emit.Lightweight.csproj
+++ b/src/libraries/System.Reflection.Emit.Lightweight/ref/System.Reflection.Emit.Lightweight.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
true
enable
diff --git a/src/libraries/System.Reflection.Emit.Lightweight/src/System.Reflection.Emit.Lightweight.csproj b/src/libraries/System.Reflection.Emit.Lightweight/src/System.Reflection.Emit.Lightweight.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Reflection.Emit.Lightweight/src/System.Reflection.Emit.Lightweight.csproj
+++ b/src/libraries/System.Reflection.Emit.Lightweight/src/System.Reflection.Emit.Lightweight.csproj
@@ -1,7 +1,7 @@
true
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.csproj b/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.csproj
index be3da7e142922..69f55b0c9a693 100644
--- a/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.csproj
+++ b/src/libraries/System.Reflection.Emit/ref/System.Reflection.Emit.csproj
@@ -1,6 +1,6 @@
- $(NetCoreAppCurrent)
+ $(NetCoreAppCurrent)
enable
diff --git a/src/libraries/System.Reflection.Emit/src/System.Reflection.Emit.csproj b/src/libraries/System.Reflection.Emit/src/System.Reflection.Emit.csproj
index 4f2d15aa3b6a5..a9c43608342de 100644
--- a/src/libraries/System.Reflection.Emit/src/System.Reflection.Emit.csproj
+++ b/src/libraries/System.Reflection.Emit/src/System.Reflection.Emit.csproj
@@ -1,7 +1,7 @@