Azure / Azure/azure-functions-core-tools

Azure function is not working after upgrading 'Microsoft.Extensions.Logging.Abstractions' package to latest version ,

Open
#3,592 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
498
Avg merge
4d 20h
Merged PRs (30d)
14

Description

We have updated 'Microsoft.Extensions.Logging.Abstractions, to the latest version 8 and after this azure function is not working and we are seeing the below error message in Azure function

![image](https://github.com/Azure/azure-functions-core-tools/assets/109646037/737cdbb8-f79c-4dbe-b9e3-e2e1326540c6)

While build locally also we are getting the below error, Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. AzureFunction: Could not load file or assembly 'System.ComponentModel, Version=7.0.0.0, Culture=neutral, PublicKeyToken=fghfg'. The system cannot find the file specified.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the local build and Azure Functions startup failure after upgrading Microsoft.Extensions.Logging.Abstractions to version 8. Inspect the missing System.ComponentModel, Version=7.0.0.0 assembly error and compare the affected dependency versions. Done means the function builds and starts without the external startup assembly-load failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.