Azure WebJobs NuGet Package Error

后端 未结 2 1288
悲&欢浪女
悲&欢浪女 2021-01-21 14:43

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

相关标签:
2条回答
  • 2021-01-21 15:09

    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.

    0 讨论(0)
  • 2021-01-21 15:31

    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

    0 讨论(0)
提交回复
热议问题