I'm using AgUnit, which in turn uses StatLight, to run some non-UI Silverlight unit tests. Part of my code calls Deployment.Current.Dispatcher.CheckAccess(). That test is failing with the following exception:
[MyTest] threw exception:
System.Exception: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
executeHandler) in ThreadingSupport.cs: line 10
I searched the web and didn't find anyone else having this problem.