Upgrade of serverless throws Could not load type 'Microsoft.Azure.WebJ on Azure

Hi everyone,

I am busy updating serverless (amaysim/serverless:2.72.1 => amaysim/serverless:3.20.0) in combination with Azure functions.
At the moment of writing the upload for Azure functions works, but I get the next message in the Azure interface:

Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0,

Path I’ve taken

  • updated the docker build (mentioned above)
  • updated serverless-webpack (^5.3.1 = ^5.11.10)
  • updated the host.json to latest version:
{
    "version": "2.0",
    "extensionBundle": {
        "id": "Microsoft.Azure.Functions.ExtensionBundle",
        "version": "[4.*, 5.0.0)"
    }
}

The upload towards Azure functions is going well, but I think I miss some settings in serverless, but cannot figure out what.