I would like to know if someone has experienced running error on Azure WebJobs Queue sample on Visual Studio templates.
The sample running to issue after I updated all t
Message=Microsoft.WindowsAzure.Storage is deployed incorrectly
TypeLoadException: Could not load type 'Microsoft.WindowsAzure.Storage.Table.DataServices.TableServiceContext' from assembly 'Microsoft.WindowsAzure.Storage, Version=9.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
According to your error message, I suppose the issue may be related with the compatibility.
TableServiceContext has been deprecated since version 4.0 and was removed in version 9.0 as part of dropping OData dependencies. You'd better use the compatible version for packages(such as WindowsAzure.Storage 8.7.0). For more details about this issue, you could read this article.
My problem was that I had an outdated nuget package. I tried to uninstall the nuget package, found it's dependency and from this I upgraded
Microsoft.Azure.WebJobs, Version=2.0.0.0
to
Microsoft.Azure.WebJobs, Version=2.2.0.0