When I try to run my durable function I get this error:
A ScriptHost error has occurred.
Microsoft.Azure.WebJobs.Extensions.DurableTask: Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=1.0.4.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
The error even persists if I try to deploy to Azure.
Currently my NuGet package for Microsoft.Azure.WebJobs.Extensions.DurableTask has a dependency on Microsoft.AspNetCore.Hosting.Abstractions for version >= 1.1.2.0. This is also the version I can see in my project.
I've tried to delete the bin folder and uninstall/install Visual Studio 2019, but no luck so far.
I'm fairly certain that it is a local issue on my PC since I asked my colleague to pull the code and run it, and there were no issues