Search code examples
c#mvc-mini-profilercode-first

mvc mini profiler problem


I'm trying to get the mini profiler working with code first and am having a problem. I've got the miniprofiler and miniprofiler.ef packages from nuget and have added the

MiniProfilerEF.Initialize();

to the application start method but when I try and perform a query I get this error.

The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

and thoughts on why this could be?

Thanks in advance.


Solution

  • This is a known problem with no solution at present. to keep upto date on it look here code.google.com/p/mvc-mini-profiler/issues/detail?id=100#c4