Skip to content

Commit

Permalink
Remove .NET 5.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
smokedlinq committed Dec 12, 2021
1 parent 715c39e commit fd8e3e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>Microsoft.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer</AssemblyName>
<RootNamespace>Microsoft.Azure.Functions.Worker.Http</RootNamespace>
<PackageId>Community.Azure.Functions.Worker.Extensions.Http.Authentication.JwtBearer</PackageId>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.13" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="1.3.1" />
<PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="1.4.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Http.Authentication.JwtBearer/MethodLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.Azure.Functions.Worker.Http
internal static class MethodLocator
{
// https://github.com/Azure/azure-functions-dotnet-worker/blob/main/src/DotNetWorker.Core/Invocation/DefaultMethodInfoLocator.cs
private static readonly Regex _entryPointRegex = new Regex("^(?<typename>.*)\\.(?<methodname>\\S*)$");
private static readonly Regex _entryPointRegex = new("^(?<typename>.*)\\.(?<methodname>\\S*)$");

public static MethodInfo GetMethod(this FunctionDefinition definition)
{
Expand Down

0 comments on commit fd8e3e9

Please sign in to comment.