[BUG] Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, #37271
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Microsoft.NET.Sdk.Functions" Version="4.2.0
Describe the bug
I have function app with below packages and files. and i am always getting error during run.
Function
Packages
Expected behavior
It should run without issue or error
Actual behavior
Error
[2023-06-28T12:51:16.695Z] A host error has occurred during startup operation 'c107b0b5-9651-48c1-8234-b5668db91149'.
[2023-06-28T12:51:16.700Z] Microsoft.Azure.WebJobs.Script: Error configuring services in an external startup class. SampleErrors: Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
Reproduction Steps
Create function app with the files given and when we run its giving issue. its in .net 6
Environment
.net 6
Visual studio 2022
OS : Windows 11
The text was updated successfully, but these errors were encountered: