I randomly keep getting this error when switching from Debug to Release when building my solution. I have no idea what is causing it and why.
I am using SQL Server 2008, and using MiniProfiler.
"Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used."
Anybody have an idea why?
Sometimes adding a new file, and rebuilding fixes it.