Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'

I'm working on a project with Azure functions. The function works correctly until I run Scaffold command to create the entities and dbContext. I installed Microsoft.Extensions.Logging.Abstraction and the problem still exist. The project uses .NET 6 and Visual Studio 2022.

error: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. El sistema no puede encontrar el archivo especificado.

I want the function runs.

Upvotes: 0

Views: 801

Answers (1)

Deepak Joy Jose
Deepak Joy Jose

Reputation: 74

Try installing a version that starts with 6 (for instance v6.0.3), if you haven't already.

Upvotes: 1

Related Questions