System.InvalidProgramException in tests

Nov 12, 2012 at 3:17 PM

I tried to run tests in solution for the WP7, but there are many error like

Test method TailSpin.PhoneClient.Tests.ViewModels.PictureQuestionViewModelFixture.ViewModelGetsPictureFromCameraTask threw exception:�System.InvalidProgramException: Common Language Runtime detected an invalid program.

in tests.

How to fix it?