I have upgraded all assemblies in an Azure Function v3 project to version 5.0 but I am unable to run the function. Here it is my function's csproj file's partial definition:
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AzureFunctionsVersion>v3</AzureFunctionsVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Extensions" Version="1.1.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="4.0.3" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="3.0.11" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.SignalRService" Version="1.2.2" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
</ItemGroup>
What's the necessary workaround to make this function with .NET 5? Google did not yield anything conclusive.
Further info: 5.0.100 [C:\Program Files\dotnet\sdk]
This is one of the error messages that I get:
Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.