Upgrading to Microsoft.Azure.Functions.Extensions v1.1 breaks function in Azure
See original GitHub issuePlease provide a succinct description of the issue.
Repro steps
We upgraded to Microsoft.Azure.Functions.Extensions version 1.1 yesterday, and all of our Azure functions have the following error message:
System.Private.CoreLib: could not load type 'Microsoft.Azure.WebJobs.Hosting.IWebJobsStartup2' from Assembly Microsoft.Azure.WEbJobs.Host, Version=3.0.17.0 ....'
Expected behavior
The Azure Function to run in Azure like it does locally
Actual behavior
Get error message above.
Known workarounds
We are rolling back to v1.0 on all of our functions.
Related information
Provide any related information
- We are running Azure Functions as Linux Containers on EP1 tier
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:24 (6 by maintainers)
Top Results From Across the Web
Azure Functions runtime versions overview
Azure Functions supports multiple versions of the runtime. Learn the differences between them and how to choose the one that's right for ...
Read more >Migrate apps from Azure Functions version 1.x to 4.x
This article walks you through the process of safely migrating your function app to run on version 4.x of the Functions runtime.
Read more >Troubleshoot Python errors in Azure Functions
This article provides information to help you troubleshoot errors with your Python functions in Azure Functions. This article supports both ...
Read more >Troubleshoot error: Azure Functions Runtime is unreachable
This issue occurs when the Functions runtime can't start. The most common reason for this is that the function app has lost access...
Read more >How to update a particular extension of an Azure Function?
I've tried npm through Kudu, through Visual Studio Code... I'm missing something very simple. Extension: Microsoft.Azure.WebJobs.Extensions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When I updated to Microsoft.Azure.Functions.Extensions 1.1.0 and deploy to azure I get an error about …
Microsoft.Azure.WebJobs.Script: The Functions scale controller may not scale the following functions correctly because some configuration values were modified in an external startup class.
It then lists every function that has a connection string, time or queue name that is configured versus being a constant in code.
I had the same issue:
System.Private.CoreLib: Could not load type 'Microsoft.Azure.WebJobs.Hosting.IWebJobsStartup2' from assembly 'Microsoft.Azure.WebJobs.Host, Version=3.0.16.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Add NuGet package
<PackageReference Include="Microsoft.Azure.WebJobs" Version="3.0.19" />
rebuild solution Check the version of the Microsoft.Azure.WebJobs.Hostin C:\Users[User]\AppData\Local\AzureFunctionsTools\Releases\3.13.0\cliI fixed it im my open source: https://github.com/RenetConsulting/angularcore.net/tree/master/Services/CoreCaptchaAzure