Skip to content

Commit fd8e3e9

Browse files
committed
Remove .NET 5.0 support
1 parent 715c39e commit fd8e3e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

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

33
<PropertyGroup>
4-
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
4+
<TargetFramework>net6.0</TargetFramework>
55
<AssemblyName>Microsoft.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer</AssemblyName>
66
<RootNamespace>Microsoft.Azure.Functions.Worker.Http</RootNamespace>
77
<PackageId>Community.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer</PackageId>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.11" />
12+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
1313
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
14-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="1.3.1" />
14+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="1.4.0" />
1515
</ItemGroup>
1616

1717
</Project>

src/Http.Authentication.JwtBearer/MethodLocator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Microsoft.Azure.Functions.Worker.Http
1212
internal static class MethodLocator
1313
{
1414
// https://github.com/Azure/azure-functions-dotnet-worker/blob/main/src/DotNetWorker.Core/Invocation/DefaultMethodInfoLocator.cs
15-
private static readonly Regex _entryPointRegex = new Regex("^(?<typename>.*)\\.(?<methodname>\\S*)$");
15+
private static readonly Regex _entryPointRegex = new("^(?<typename>.*)\\.(?<methodname>\\S*)$");
1616

1717
public static MethodInfo GetMethod(this FunctionDefinition definition)
1818
{

0 commit comments

Comments
 (0)