I'm in the process of migrating one of my projects from VS2008 to VS2010. Now that I converted all of my projects in the solution to .NET 4.0 (Client Profile) when I run the test harness, almost all tests fail with the following exception:
System.Security.VerificationException: Operation could destabilize the runtime.
I've been unable to determine why this exception occurs. The tests run all fine when I run them in debug mode.
The entire solution is available for download here.
Can anyone point me in the right direction?