Skip to content

Commit c3b5ac1

Browse files
Remove support for .NET 7 (#567)
* remove net7 references and target frameworks * update install script
1 parent 88a83d6 commit c3b5ac1

File tree

7 files changed

+7
-9
lines changed

7 files changed

+7
-9
lines changed

build/install-dotnet.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
# Installs .NET 6, .NET 7, and .NET 8 for CI/CD environment
1+
# Installs .NET 6 and .NET 8 for CI/CD environment
22
# see: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script#examples
33

44
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
55

66
&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 6.0
77

8-
&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 7.0
9-
108
&([scriptblock]::Create((Invoke-WebRequest -UseBasicParsing 'https://dot.net/v1/dotnet-install.ps1'))) -Channel 8.0

src/Microsoft.Azure.AppConfiguration.AspNetCore/Microsoft.Azure.AppConfiguration.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\..\build\NugetProperties.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
66
<Description>Microsoft.Azure.AppConfiguration.AspNetCore allows developers to use Microsoft Azure App Configuration service as a configuration source in their applications. This package adds additional features for ASP.NET Core applications to the existing package Microsoft.Extensions.Configuration.AzureAppConfiguration.</Description>
77
<SignAssembly>true</SignAssembly>
88
<DelaySign>false</DelaySign>

src/Microsoft.Azure.AppConfiguration.Functions.Worker/Microsoft.Azure.AppConfiguration.Functions.Worker.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Import Project="..\..\build\NugetProperties.props" />
33

44
<PropertyGroup>
5-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
5+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
66
<Description>Microsoft.Azure.AppConfiguration.Functions.Worker allows developers to use the Microsoft Azure App Configuration service as a configuration source in their applications. This package adds additional features to the existing package Microsoft.Extensions.Configuration.AzureAppConfiguration for .NET Azure Functions running in an isolated process.</Description>
77
<SignAssembly>true</SignAssembly>
88
<DelaySign>false</DelaySign>

tests/Tests.AzureAppConfiguration.AspNetCore/Tests.AzureAppConfiguration.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<DelaySign>false</DelaySign>
77
<SignAssembly>true</SignAssembly>

tests/Tests.AzureAppConfiguration.Functions.Worker/Tests.AzureAppConfiguration.Functions.Worker.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<DelaySign>false</DelaySign>
77
<SignAssembly>true</SignAssembly>

tests/Tests.AzureAppConfiguration/RefreshTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ public void RefreshTests_RefreshIsCancelled()
10561056
Assert.Equal("TestValue1", config["TestKey1"]);
10571057
}
10581058

1059-
#if NET7_0
1059+
#if NET8_0
10601060
[Fact]
10611061
public void RefreshTests_ChainedConfigurationProviderUsedAsRootForRefresherProvider()
10621062
{

tests/Tests.AzureAppConfiguration/Tests.AzureAppConfiguration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net48;net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFrameworks>net48;net6.0;net8.0</TargetFrameworks>
55
<LangVersion>8.0</LangVersion>
66
<DelaySign>false</DelaySign>
77
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)