Unable to refer "Microsoft.Extensions.Logging.Abstractions" in the Azure Function

Viswanath Vankadari 0 Reputation points


I am using VS2022 community edition and created a new Http Azure function with run time as .Net 7.0.


When I reffered, "Microsoft.Extensions.Logging.Abstractions" (8.00-preview.7.23375.6 or 7.0.1) and debug, I am getting an error

Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

I googled a lot, but could not find the answer.

What can be the issue and how to fix this.



Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,471 questions
Microsoft Technologies based on the .NET software framework.
2,077 questions
{count} votes