Having recently got our Nuget Packages up to date, when I try and launch any of the function apps locally in Visual Studio they are now giving this error:
A host error has occurred during startup operation '94f0d3b5-a52a-4ec2-b37a-8e3afe2c9c65'.
System.Private.CoreLib: Could not load file or assembly 'Microsoft.Azure.WebJobs.Extensions.Http, Version=3.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
Value cannot be null. (Parameter 'provider')
I tried upgrading Visual Studio and re-installing the Azure Functions Core Tools, but that made no difference.
It started to work again when I downgraded Microsoft.Azure.WebJobs.Extensions.ServiceBus from 5.8.1 to 5.7.0.
We are on .NET 6.0
Having recently got our Nuget Packages up to date, when I try and launch any of the function apps locally in Visual Studio they are now giving this error:
I tried upgrading Visual Studio and re-installing the Azure Functions Core Tools, but that made no difference. It started to work again when I downgraded Microsoft.Azure.WebJobs.Extensions.ServiceBus from 5.8.1 to 5.7.0. We are on .NET 6.0