Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 4966500

Browse files
committed
feat: Added support to .NET 7.0
1 parent 4e71c53 commit 4966500

8 files changed

Lines changed: 16 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414

1515
env:
16-
SDK_VERSION: '6.0.400'
16+
SDK_VERSION: '7.0.100'
1717
PACKAGE_PATH: ./src/**/*.nupkg
1818
NUGET_SERVER: https://api.nuget.org/v3/index.json
1919

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616

1717
env:
18-
SDK_VERSION: '6.0.400'
18+
SDK_VERSION: '7.0.100'
1919

2020

2121
jobs:

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111

1212

1313
env:
14-
SDK_VERSION_6: '6.0.400'
14+
SDK_VERSION_7: '7.0.100'
15+
SDK_VERSION_6: '6.0.403'
1516
SDK_VERSION_5: '5.0.408'
1617

1718

@@ -29,6 +30,7 @@ jobs:
2930
uses: actions/setup-dotnet@v3
3031
with:
3132
dotnet-version: |
33+
${{ env.SDK_VERSION_7 }}
3234
${{ env.SDK_VERSION_6 }}
3335
${{ env.SDK_VERSION_5 }}
3436

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232

3333
## Support to <a name="support-to"></a>
34+
- .NET 7.0
3435
- .NET 6.0
3536
- .NET 5.0
3637

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "6.0.400"
3+
"version": "7.0.100"
44
}
55
}

samples/PowerUtils.AspNetCore.ErrorHandler.Samples/Samples.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<OutputType>Exe</OutputType>
6-
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
6+
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>
77

88
<RootNamespace>PowerUtils.AspNetCore.ErrorHandler.Samples</RootNamespace>
99
<AssemblyName>PowerUtils.AspNetCore.ErrorHandler.Samples</AssemblyName>
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="PowerUtils.AspNetCore.Authentication.BasicAuth" Version="1.1.0" />
15-
<PackageReference Include="PowerUtils.AspNetCore.Authentication.JwtBearer" Version="1.1.0" />
15+
<PackageReference Include="PowerUtils.AspNetCore.Authentication.JwtBearer" Version="1.2.0" />
1616
<PackageReference Include="PowerUtils.Security" Version="1.2.0" />
1717
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
1818
<!-- LOGS -->

src/PowerUtils.AspNetCore.ErrorHandler.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<!-- Assembly and projecto details -->
88
<!-- https://docs.microsoft.com/en-us/dotnet/standard/frameworks -->
9-
<TargetFrameworks>net6.0;net5.0</TargetFrameworks>
9+
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>
1010

1111

1212
<AssemblyName>PowerUtils.AspNetCore.ErrorHandler</AssemblyName>

tests/PowerUtils.AspNetCore.ErrorHandler.Tests/PowerUtils.AspNetCore.ErrorHandler.Tests.csproj

Lines changed: 6 additions & 3 deletions
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;net5.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0;net6.0;net5.0</TargetFrameworks>
55

66
<RootNamespace>PowerUtils.AspNetCore.ErrorHandler.Tests</RootNamespace>
77
<AssemblyName>PowerUtils.AspNetCore.ErrorHandler.Tests</AssemblyName>
@@ -41,11 +41,14 @@
4141
</ItemGroup>
4242

4343

44-
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
44+
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
4545
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.0" />
4646
</ItemGroup>
47+
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
48+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[6.0.11]" allowedVersions="[6.0.11]" />
49+
</ItemGroup>
4750
<ItemGroup Condition=" '$(TargetFramework)' == 'net5.0' ">
48-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[7.0.0]" />
51+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="[5.0.17]" allowedVersions="[5.0.17]" />
4952
</ItemGroup>
5053

5154

0 commit comments

Comments
 (0)