升级核心3.0之后,不可能在包管理器中添加迁移。这是我的错误System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Internal.Product
但是当我运行Update-Database命令将我的迁移应用到数据库时,我得到了以下错误:Couldn't find type for class Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener更新:当我卸载ApplicationInsightsTraceListener nuget包时,它可以工作,但如果不卸载它就可以修复它,那就更好了。