ASP.NET MVC MiniProfiler and EntityFramework 6 Initialization

后端 未结 2 1878
生来不讨喜
生来不讨喜 2021-01-12 01:19

I have a similar issue in that after loading MiniProfiler and MiniProfiler.EnitiyFramework6 I have this issue. MiniProfiler runs fine, but when I add to my Applcation_Start

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 01:46

    For others having similar issues This is how I resolved

    Please analyze what version of Entity Framework your application is using PM> Get-Package

    and then install MiniProfiler.EF accordingly

    Like in my case I installed Install-Package MiniProfiler.EF5

提交回复
热议问题