Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

huangapple go评论66阅读模式
英文:

Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

问题

I'm trying to run an Azure Function v4 from Visual Studio, I know the function is correct because it works correctly in other computers from the same repo. I already removed and Clone the solution but still it won't work, the error is: "A host error has occurred during startup operation Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs,Version=3.0.34.0'"

I noticed that the exception says that I'm using version 3.0.34.0 from Microsoft.Azure.WebJobs although I installed the Version 3.0.37 using Nuget Manager

also the reference in the .csproj indicates it is 3.0.37

I already cleaned, rebuild, eliminated the bin and obj folders and it keeps showing the same error

I also looked for any "3.0.34.0" version of anything but couldn't find any, not sure why it says that version is being used, I even tried to downgrade to that version but it is the only one that doesn't exists and that was really frustrating

Please, help me

英文:

I'm trying to run an Azure Function v4 from Visual Studio, I know the function is correct because it works correctly in other computers from the same repo. I already removed and Clone the solution but still it won't work, the error is:
"A host error has occurred during startup operation
Microsoft.Azure.WebJobs.Extensions.Storage.Blobs: Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs,Version=3.0.34.0
"

I noticed that the exception says that I'm using version 3.0.34.0 from Microsoft.Azure.WebJobs although I installed the Version 3.0.37 using Nuget Manager

Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

also the reference in the .csproj indicates it is 3.0.37

Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

I already cleaned, rebuild, eliminated the bin and obj folders and it keeps showing the same error

Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

I also looked for any "3.0.34.0" version of anything but couldn't find any, not sure why it says that version is being used, I even tried to downgrade to that version but it is the only one that doesn't exists and that was really frustrating

Azure function. 'Could not load type 'Microsoft.Azure.WebJobs.ParameterBindingData' from assembly 'Microsoft.Azure.WebJobs, Version=3.0.34.0'

Please, help me

答案1

得分: 1

"Removing and reinstalling all 'Microsoft.Azure' packages has fixed the issue."

英文:

Removing and reinstalling all "Microsoft.Azure" packages has fixed the issue.

答案2

得分: 0

我清理了NuGet缓存。

nuget locals all -clear

英文:

I cleared the nuget cache.

nuget locals all -clear

huangapple
  • 本文由 发表于 2023年5月18日 01:10:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/76274594.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定