Problem with Microsoft.Extensions.Logging.Abstractions

Jassim Al Rahma 1,616 Reputation points
2023-08-24T14:47:39.39+00:00

Hi,

Why I am getting this error:

Detected package downgrade: Microsoft.Extensions.Logging.Abstractions from 7.0.1 to 7.0.0. Reference the package directly from the project to select a different version.   Muffin -> Microsoft.AspNetCore.SignalR.Client 7.0.10 -> Microsoft.AspNetCore.Http.Connections.Client 7.0.10 -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.1)   Muffin -> Microsoft.Extensions.Logging.Abstractions (>= 7.0.0) Restore failed.

and when I add the Microsoft.Extensions.Logging.Abstractions in my project then try to archive my .NET MAUI app I will get this error:

A PackageReference for 'Microsoft.Extensions.Logging.Abstractions' was included in your project. This package is implicitly referenced by the .NET SDK and you do not typically need to reference it from your project. For more information, see https://aka.ms/sdkimplicitrefs

so what is the solution?

Thanks,

Jassim

Developer technologies .NET .NET MAUI
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.