Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Tests FAIL running in VS2012, but PASS in VS2010

$
0
0

 

In VS2010 my MSTest tests run just fine.

When running in VS2012 I am getting an error. The test sets the Csla.ApplicationContext.User with a Custom Business Principal. When EntityFramework is asked to provide a new ObjectContext I receive a SerializationException saying that my Custom Business Principal type cannot be found.

So far all tests that use EntityFramework fail when running through VS2012's test runner or Resharper7's test runner. I have tried NCrunch's test runner and they all pass.

Anyone else having issues like this? Any help would be much appreciated.

 


Viewing all articles
Browse latest Browse all 764

Trending Articles