I have recently installed application insights to my ASP.Net MVC 5 project, and it works as intended.
But when I run Update-Database command to apply my migrations to database I get the following error: Couldn't find type for class Microsoft.ApplicationInsights.TraceListener.ApplicationInsightsTraceListener.
The project on which I run Update-Database is separate project ( class library ) which is included into web project.
Anyone knows how to fix this?
UPDATE: It works when I uninstall ApplicationInsightsTraceListener nuget package, but it would be good if it can be fixed without uninstalling it.