'Microsoft.EntityFrameworkCore.Internal.DiagnosticsLogger`1'

I m trying to migrate my data base using EF core when i run this commande "dotnet ef migrations add Init --context PersistedGrantDbContext -o Migrations/PersistedGrantDb" an error has apeared

enter image description here



Solution 1:[1]

Check if you have some AspNetCore.HealthChecks.UI package installed on your projects. If yes, you need to update them to version 6.0.X.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Arthur Soares