From aa84763e6d6a3f03941b01840a8784ae8525b83e Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Tue, 3 Jan 2023 10:54:50 -0700 Subject: [PATCH] Drop netcoreapp3.1 TFM This runtime version is no longer serviced by Microsoft, so no one should be using it. --- .../Microsoft.VisualStudio.Threading.csproj | 2 +- .../Helpers/ReferencesHelper.cs | 2 -- .../Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj | 2 +- .../Microsoft.VisualStudio.Threading.Tests.csproj | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj b/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj index 8ceaf82ae..e92ec77b9 100644 --- a/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj +++ b/src/Microsoft.VisualStudio.Threading/Microsoft.VisualStudio.Threading.csproj @@ -1,6 +1,6 @@  - netstandard2.0;netcoreapp3.1;net6.0;net472 + netstandard2.0;net6.0;net472 Async synchronization primitives, async collections, TPL and dataflow extensions. Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio). diff --git a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs index 2943dfbbe..0795f962c 100644 --- a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs +++ b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Helpers/ReferencesHelper.cs @@ -11,8 +11,6 @@ internal static class ReferencesHelper { #if NETFRAMEWORK public static ReferenceAssemblies DefaultReferences = ReferenceAssemblies.NetFramework.Net471.Default -#elif NETCOREAPP3_1 - public static ReferenceAssemblies DefaultReferences = ReferenceAssemblies.NetCore.NetCoreApp31 #elif NET6_0 public static ReferenceAssemblies DefaultReferences = ReferenceAssemblies.Net.Net60 #else diff --git a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj index b9371b7c3..3095943c1 100644 --- a/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj +++ b/test/Microsoft.VisualStudio.Threading.Analyzers.Tests/Microsoft.VisualStudio.Threading.Analyzers.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp3.1;net6.0 + net6.0 true true true diff --git a/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj b/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj index 0545e87fb..1b992ffcd 100644 --- a/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj +++ b/test/Microsoft.VisualStudio.Threading.Tests/Microsoft.VisualStudio.Threading.Tests.csproj @@ -1,6 +1,6 @@  - net6.0;netcoreapp3.1 + net6.0 true true