Unable to run azure function locally when migrated to .net8
Abhijit Jadhav (INFOSYS LIMITED)
11
Reputation points Microsoft Vendor
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.