Fix: Exception "Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.", when code is executed in a Microsoft Visual Studio 2012 test project.

0 Comments

When using an old version of LeadTools I encountered an exception during the execution of a Microsoft Visual Studio 2012 test. Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be

How to do unit testing with EF 4.2

0 Comments

If you want to do unit testing with Entity Framework 4.2, I suggest you read this article: http://romiller.com/2010/09/07/ef-ctp4-tips-tricks-testing-with-fake-dbcontext/ It explains how to create a Interface for you DbContext and create fake implementations for the IDbSet,