I recently installed application information in my project ASP.Net MVC 5, and it works as intended.
But when I run the command Update-Databasefor the application of my migration to the database, I get the following error: Couldn't find type for class Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener.
The project I am running Update-Databaseon is a separate project (class library) that is included in a web project.
Does anyone know how to fix this?
UPDATE: it works when I ApplicationInsightsTraceListenerremove the nuget package , but it would be nice if it could be fixed without removing it.
source
share