From 8e1c26eab8fc86d630bd61678eb8da8740c5c2c4 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Wed, 15 Jan 2025 16:08:58 +0800 Subject: [PATCH] drop net 6 --- build/install-dotnet.ps1 | 6 +----- .../Microsoft.FeatureManagement.AspNetCore.csproj | 2 +- .../Tests.FeatureManagement.AspNetCore.csproj | 9 +-------- .../Tests.FeatureManagement.csproj | 9 +-------- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/build/install-dotnet.ps1 b/build/install-dotnet.ps1 index 355cb882..6ef5b5f7 100644 --- a/build/install-dotnet.ps1 +++ b/build/install-dotnet.ps1 @@ -1,12 +1,8 @@ -# Installs .NET 6, .NET 7 and .NET 8 for CI/CD environment +# Installs .NET 8 and .NET 9 for CI/CD environment # see: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#examples [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; -&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 6.0 - -&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 7.0 - &([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 8.0 &([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 9.0 diff --git a/src/Microsoft.FeatureManagement.AspNetCore/Microsoft.FeatureManagement.AspNetCore.csproj b/src/Microsoft.FeatureManagement.AspNetCore/Microsoft.FeatureManagement.AspNetCore.csproj index 50a0e702..53e57010 100644 --- a/src/Microsoft.FeatureManagement.AspNetCore/Microsoft.FeatureManagement.AspNetCore.csproj +++ b/src/Microsoft.FeatureManagement.AspNetCore/Microsoft.FeatureManagement.AspNetCore.csproj @@ -12,7 +12,7 @@ - net6.0;net8.0;net9.0 + net8.0;net9.0 true false ..\..\build\Microsoft.FeatureManagement.snk diff --git a/tests/Tests.FeatureManagement.AspNetCore/Tests.FeatureManagement.AspNetCore.csproj b/tests/Tests.FeatureManagement.AspNetCore/Tests.FeatureManagement.AspNetCore.csproj index 8557c30c..e91b1be6 100644 --- a/tests/Tests.FeatureManagement.AspNetCore/Tests.FeatureManagement.AspNetCore.csproj +++ b/tests/Tests.FeatureManagement.AspNetCore/Tests.FeatureManagement.AspNetCore.csproj @@ -1,7 +1,7 @@ - net6.0;net8.0;net9.0 + net8.0;net9.0 false 8.0 True @@ -20,13 +20,6 @@ - - - - - - - diff --git a/tests/Tests.FeatureManagement/Tests.FeatureManagement.csproj b/tests/Tests.FeatureManagement/Tests.FeatureManagement.csproj index 3eee5035..4a915a4f 100644 --- a/tests/Tests.FeatureManagement/Tests.FeatureManagement.csproj +++ b/tests/Tests.FeatureManagement/Tests.FeatureManagement.csproj @@ -1,7 +1,7 @@ - net48;net6.0;net8.0;net9.0 + net48;net8.0;net9.0 false 8.0 True @@ -20,13 +20,6 @@ - - - - - - -