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.
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
Developer technologies | .NET | Other
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Sign in to answer