Unable to run azure function locally when migrated to .net8
Abhijit Jadhav (INFOSYS LIMITED)
11
Reputation points Microsoft External Staff
We are trying to migrate azure functions from .net6 to .net8. Post migration we get below error. We get below error in function app console when we run function in local.
"Could not load file or assembly 'Microsoft.Extensions.Configuration, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified."
Function app uses Microsot.Extension.Configuration package.
Even after downgrading this package or other dependent packages we get this error.
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Developer technologies ASP.NET ASP.NET Core
4,815 questions
Developer technologies .NET Other
4,103 questions
Sign in to answer