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
/via http://social.msdn.microsoft.com/Forums/en/vstsprofiler/thread/8bd8da75-76d2-4257-aeee-d040e6167bf9
About the Author