Skip to content

Commit 4f2f7df

Browse files
committed
feat: .net 6
1 parent 8c54984 commit 4f2f7df

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

samples/NetDevPack.Security.JwtExtensions.ApiAuthenticator/NetDevPack.Security.JwtExtensions.ApiAuthenticator.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.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
</PropertyGroup>
66

77

samples/NetDevPack.Security.JwtExtensions.ApiClient/NetDevPack.Security.JwtExtensions.ApiClient.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
</PropertyGroup>
66

77

@@ -16,7 +16,10 @@
1616
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.15" />
1717
</ItemGroup>
1818
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
19-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.6" />
19+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.11" />
20+
</ItemGroup>
21+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
22+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0-rc.2.21480.10" />
2023
</ItemGroup>
2124

2225
</Project>

src/NetDevPack.Security.JwtExtensions/NetDevPack.Security.JwtExtensions.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
<Version>3.1.0</Version>
66
<Authors>Bruno Brito</Authors>
77
<PackageIconUrl>https://raw.githubusercontent.com/NetDevPack/NetDevPack/master/assets/IconNuget.png</PackageIconUrl>
@@ -15,17 +15,23 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.11.0" />
19-
<PackageReference Include="System.Text.Json" Version="5.0.2" />
18+
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.13.1" />
2019
</ItemGroup>
2120

2221
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
22+
<PackageReference Include="System.Text.Json" Version="5.0.2" />
2323
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="2.1.0" />
2424
</ItemGroup>
2525
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
26+
<PackageReference Include="System.Text.Json" Version="5.0.2" />
2627
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.15" />
2728
</ItemGroup>
2829
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
29-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.6" />
30+
<PackageReference Include="System.Text.Json" Version="5.0.2" />
31+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.11" />
32+
</ItemGroup>
33+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
34+
<PackageReference Include="System.Text.Json" Version="6.0.0-rc.2.21480.5" />
35+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0-rc.2.21480.10" />
3036
</ItemGroup>
3137
</Project>

tests/NetDevPack.Security.JwtExtensions.ApiTests/NetDevPack.Security.JwtExtensions.ApiTests.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
55
</PropertyGroup>
66

77

@@ -16,6 +16,9 @@
1616
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.15" />
1717
</ItemGroup>
1818
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
19-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.6" />
19+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.11" />
20+
</ItemGroup>
21+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
22+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0-rc.2.21480.10" />
2023
</ItemGroup>
2124
</Project>

tests/NetDevPack.Security.JwtExtensions.Tests/NetDevPack.Security.JwtExtensions.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,8 @@
3737
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
3838
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.6" />
3939
</ItemGroup>
40+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
41+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.6" />
42+
</ItemGroup>
4043

4144
</Project>

0 commit comments

Comments
 (0)