Attempting to either run a unit test or open the Test Results pane in Visual Studio 2008 generates the following error on my machine:
“Exception has been thrown by the target of an invocation”
Following these instructions i have gotten around the issue. Sometimes I had to shut down a couple times and potentially be on the Team Explorer pane.
1. Close all the instances of Visual Studio
2. Open a VS (Without opening the solution).
3. Go to Test -> Windows -> Test Results.
4. Now open the solution and vsmdi.
5. Tests would run as usual