From c9682e515baa1c07431f4eaee9f9dcad500aa06b Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Mon, 30 Nov 2020 23:35:12 +0100 Subject: [PATCH] Remove NETStandard2.2 versions and product dependency (#43304) * Remove NetStandard2.2 versions and product dependency --- eng/Version.Details.xml | 4 ---- eng/Versions.props | 6 ++---- eng/testing/xunit/xunit.targets | 2 +- .../Common/tests/TestUtilities/TestUtilities.csproj | 2 +- src/libraries/shims/ApiCompat.proj | 7 ++++--- src/libraries/shims/Directory.Build.props | 2 +- src/libraries/shims/generated/Directory.Build.props | 4 ++-- 7 files changed, 11 insertions(+), 16 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 1d44b7b65e4..057c70d0386 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,9 +1,5 @@ - - https://github.com/dotnet/standard - cfe95a23647c7de1fe1a349343115bd7720d6949 - https://github.com/dotnet/icu f9c78959ceca029309ae76932fb441cacb9650d1 diff --git a/eng/Versions.props b/eng/Versions.props index 9cc2725b6c7..4f187274138 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -115,9 +115,6 @@ 5.0.0-beta.20568.1 5.0.0-beta.20568.1 5.0.0-beta.20568.1 - - 2.2.0-prerelease.19564.1 - 2.0.3 99.99.99-master-20200806.6 99.99.99-master-20200806.6 @@ -127,6 +124,8 @@ 1.7.0 2.0.0-beta1.20253.1 + 2.1.0 + 2.0.3 - netstandard.library optimization.windows_nt-x64.ibc.corefx optimization.linux-x64.ibc.corefx microsoft.private.intellisense diff --git a/eng/testing/xunit/xunit.targets b/eng/testing/xunit/xunit.targets index feb429aab6b..8a950eb58ef 100644 --- a/eng/testing/xunit/xunit.targets +++ b/eng/testing/xunit/xunit.targets @@ -2,7 +2,7 @@ diff --git a/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj b/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj index 6e5f45f4860..afd64cb9c9d 100644 --- a/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj +++ b/src/libraries/Common/tests/TestUtilities/TestUtilities.csproj @@ -70,7 +70,7 @@ - + diff --git a/src/libraries/shims/ApiCompat.proj b/src/libraries/shims/ApiCompat.proj index 4a7910878f5..7c490107539 100644 --- a/src/libraries/shims/ApiCompat.proj +++ b/src/libraries/shims/ApiCompat.proj @@ -19,7 +19,8 @@ - + + @@ -78,8 +79,8 @@ False False - <_netStandardLibraryRefPath>$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'netstandard.library', '$(NETStandardLibraryVersion)', 'build', 'netstandard2.1', 'ref')) - <_netStandardLibrary20RefPath>$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'netstandard.library', '$(NetStandardLibrary20Version)', 'build', 'netstandard2.0', 'ref')) + <_netStandardLibraryRefPath>$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'netstandard.library.ref', '$(NETStandardLibraryRefVersion)', 'ref', 'netstandard2.1')) + <_netStandardLibrary20RefPath>$([MSBuild]::NormalizeDirectory('$(NuGetPackageRoot)', 'netstandard.library', '$(NetStandardLibraryVersion)', 'build', 'netstandard2.0', 'ref')) <_netStandard21OnlyRef>$(_netStandardLibraryRefPath)netstandard.dll <_netStandard21OnlyRef Condition="$(UpdateNETStandardBaselineLocally)">$(MSBuildThisFileDirectory)..\..\..\standard\artifacts\bin\ref\netstandard\Debug\netstandard.dll <_netStandard21BaselineModifer>--baseline diff --git a/src/libraries/shims/Directory.Build.props b/src/libraries/shims/Directory.Build.props index 55920bf3ba2..2cae9b2768a 100644 --- a/src/libraries/shims/Directory.Build.props +++ b/src/libraries/shims/Directory.Build.props @@ -20,7 +20,7 @@ true net48 $(NuGetPackageRoot)microsoft.netframework.referenceassemblies.$(NETFrameworkReferenceAssemblyTFM)\$(MicrosoftNetFrameworkReferenceAssembliesVersion)\build\.NETFramework\v4.8\ - $(NuGetPackageRoot)netstandard.library\$(NETStandardLibraryVersion)\build\netstandard2.1\ref\ + $(NuGetPackageRoot)netstandard.library.ref\$(NETStandardLibraryRefVersion)\ref\netstandard2.1\ diff --git a/src/libraries/shims/generated/Directory.Build.props b/src/libraries/shims/generated/Directory.Build.props index 096ac688164..3034fd5027b 100644 --- a/src/libraries/shims/generated/Directory.Build.props +++ b/src/libraries/shims/generated/Directory.Build.props @@ -15,9 +15,9 @@ - + Version="[$(NETStandardLibraryRefVersion)]" /> -- GitLab