英文:
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
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
答案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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论